lua-users home
lua-l archive

Re: savedpc-- in luaG_traceexec

[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

AltStyle によって変換されたページ (->オリジナル) /