lua-users home
lua-l archive

(silly) bug in Lua 3.0

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


 The macro "LUA_COMPAT2_5", that controls whether Lua should be
compatible with older versions, was 'misspelled' in opcode.c(1464):
#if COMPAT2_5
This error makes the function "lua_setfallback", from Lua 2.5, absent
from the final library. This silly mistake can be corrected by patching
opcode.c(1464) to:
#if LUA_COMPAT2_5
or by defining COMPAT2_5 in the makefile ("-DCOMPAT2_5").
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /