lua-users home
lua-l archive

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


> It would be much preferable if lua_resume() were to sprout an extra
> optional errfunc argument. But then, that would require passing the
> error function on every resume. As resumes cannot be nested anyway,
> something that sets the errfunc field of the Lua state once would do
> better.

We do not like this last solution, as it creates another hidden value
in a Lua state.  But for sure lua_resume will have some way to set an
errfunc in Lua 5.1.

-- Roberto