lua-users home
lua-l archive

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


Hi!

I'm trying to avoid the exit() call in luaD_breakrun() without altering
lua itself, of course. Registering an atexit() function isn't enough for
me, I need to catch the error and let the application continue without
the script.

I've seen that luaD_breakrun() checks wether the errorJmp member of
lua_State is set or not. Is there any way to set errorJmp to my own
error recovery routine ?

Btw, I'm using Lua 4.0 beta.

-Markus-