lua-users home
lua-l archive

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

I'm trying to build LPeg 0.8.1, and I am getting the following error
when I run the test file:

>lua lpeg-0.8.1\test.lua
General tests for LPeg library
version 0.8
lua: invalid key to 'next'
stack traceback:
        [C]: in function 'P'
        lpeg-0.8.1\test.lua:312: in main chunk
        [C]: ?

>lua -v
Lua 5.1.3  Copyright (C) 1994-2008, PUC-Rio

This is on Windows XP. (LuaBinaries version of Lua, I believe)

This doesn't look like something that would come from a problem with
how I compiled the code (I got no compile errors). What could be the
issue here?