lua-yajl icon indicating copy to clipboard operation
lua-yajl copied to clipboard

Incompatible with Lua 5.2.0

Open ghost opened this issue 11 years ago • 1 comments

When compiling against Lua 5.2.0, getfenv, setfenv, and objlen are missing. Lua 5.2 uses lexical scopes instead of dynamic ones. objlen could be changed to rawlen, but since I haven't looked closely at what you are manipulating the environment for I don't have a patch. I may offer one up shortly.

ghost avatar Jan 02 '15 18:01 ghost

Patches are always welcomed :).

Thanks, -Brian

brimworks avatar Jan 05 '15 02:01 brimworks