lua-users home
lua-l archive

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


> What is the right thing to code following an error luaG_runerror call in 
> the core?

A call to luaG_runerror ends at a call to luaD_throw, which either returns
to the host via longjmp, calls the panic functions or exits the program.
See http://www.lua.org/source/5.1/ldo.c.html#luaD_throw

If you want the host to continue, use lua_pcall or lua_cpcall.