lua-users home
lua-l archive

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


On Sat, Apr 6, 2013 at 12:18 AM, Sean Conner <sean@conman.org> wrote:
> PureLPeg:
> [spc]lucy:/tmp/foo>lua test.lua
> lua: ./PureLPeg.lua:1101: attempt to compare number with nil
> stack traceback:
>         ./PureLPeg.lua:1101: in function 'matcher'
>         ./PureLPeg.lua:1164: in function '?'
>         ./PureLPeg.lua:1146: in function 'matcher'
>         ./PureLPeg.lua:1217: in function 'match'
>         test.lua:20: in main chunk
>         [C]: ?
>
>   Oops.
Oops, indeed.

>   -spc (I hope this report helps ... )
It sure does.

It should work now (the range matcher could not handle the end of the stream).

-- Pierre-Yves