On Wed, Feb 06, 2002 at 12:09:22PM -0800, Steve Fink wrote: > but I think that's because re_backtrack returns a void*. run_native() > returns an opcode_t*, which is fine for the regular core_ops.c but > gets returned as void** in core_ops_prederef.c. I think the computed > goto path does a third thing, but I don't know how to invoke that.
goto ADDRESS() for prederef needs the same type of calculation that expr_pop uses to convert opcode_t * values to the corresponding void **. CGoto is used by pbc2c.pl. There isn't actually a computed goto runops at the moment. Enternative is only used by the C programs pbc2c generates. This code doesn't enable prederef (no option parsing), so enternative in prederef mode isn't possible yet. -- Jason