[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bug report: Unhelpful error message
- From: Sam Roberts <vieuxtech@...>
- Date: Wed, 4 Feb 2009 16:50:09 -0800
On Wed, Feb 4, 2009 at 3:47 PM, Peter Cawley <lua@corsix.org> 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:
http://github.com/sam-github/swirl/blob/af29de8aa44359569504914912010affd874da92/lua/vcom.h
Sam