lua-users home
lua-l archive

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

On Tue, Nov 16, 2010 at 8:15 AM, Luiz Henrique de Figueiredo
<> wrote:
> Lua 5.2.0 (alpha) is now available at

Consider the following code.  I expect it to print "bad" once, but it
does so many times.  The manual is a little unclear, but seems to
imply that xpcall(f, err) only puts f in protected mode.  It shouldn't
catch errors in err.  Does that make sense?  This may be a semantic
change from 5.1, but is it still fixable in 5.2?

function t()

function c()

xpcall(t, c)