lua-users home
lua-l archive

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

On Wed, Feb 4, 2009 at 3:47 PM, Peter Cawley <> wrote:
> It is the role of lua_pcall()'s third parameter to specify a function
> which adds a full stack traceback, not the role of a library (this is
> not the formal role of lua_pcall, but is one of the most common uses).
> For example, the default Lua interpreter:

Btw, lua.c is easy to read, I pulled its implementation of pcall out
into my own version, v_pcall: