lua-users home
lua-l archive

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


> On 13/01/2017 15:57, Roberto Ierusalimschy wrote:
> >This is release 1.0.1. It is a bug-fix release.
> >
> 
> I compiled it for Lua 5.1 and ran test.lua. Then got the following:
>    test.lua:1135: attempt to call field 'unpack' (a nil value)
> 
> After replacing 'table.unpack' on line 1135 with 'unpack' I got:
> 
> lua: test.lua:1135: too many results to unpack
> [...]

Fixed. (Lua 5.1 has a much lower limit for the number of values returned
by a function. Both issues were with the test file, not with LPeg
itself.)  Thanks for the feedback.

-- Roberto