lua-users home
lua-l archive

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


2007/1/19, Chris <coderight@gmail.com>:
That won't work either because the index is relative and there will be
more stuff on the stack.

The code I posted originally only contains balanced functions, so the
-1 index is always correct when the recursive function hits lua_next,
except if dosomestuff push stuff on the stack.