[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Problem with strict.lua
- From: Eero Pajarre <epajarre@...>
- Date: Tue, 07 Nov 2006 12:18:16 +0200
I seem to have a problem with strict.lua.
When I try to use lua_setglobal for creating
a new global variable, the code in strict.lua
seems to "crash". The problem is in line
local w = debug.getinfo(2, "S").what
where debug.getinfo returns nil
I suspect that I would avoid this problem if my
lus_setglobal would be used inside a function
"called through Lua", but I would rather not
do this change now.
Any other ideas?