Scott Lembcke wrote: > Lua 5.2 extended debug.getlocal() with the ability to get vararg > parameters using negative indices. I've just added this extension to LuaJIT git HEAD. Ditto for the change in Lua 5.2 where debug.getlocal() accepts a Lua function instead of a level and returns the parameter names. On the C side this corresponds to lua_getlocal(L, NULL, n) with the Lua function on top of the Lua stack. --Mike