lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> In ldebug.c, luaG_traceexec, in the case of a hook that yielded,  Lua does:
> 
> ci->u.l.savedpc--;  /* undo increment (resume will increment it again) */
> 
> Where does savedpc gets incremented again exactly ?

When 'luaV_execute' is called again.

-- Roberto