[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: (silly) bug in Lua 3.0
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 25 Jul 1997 14:38:11 -0300
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