mirror of
https://github.com/lua/lua
synced 2025-03-25 07:02:51 +03:00
Details
This commit is contained in:
parent
ea39042e13
commit
cbae016202
@ -21,8 +21,7 @@
|
|||||||
/*
|
/*
|
||||||
** Encode major-minor version in one byte, one nibble for each
|
** Encode major-minor version in one byte, one nibble for each
|
||||||
*/
|
*/
|
||||||
#define MYINT(s) (s[0]-'0') /* assume one-digit numerals */
|
#define LUAC_VERSION (LUA_VERSION_MAJOR_N*16+LUA_VERSION_MINOR_N)
|
||||||
#define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
|
|
||||||
|
|
||||||
#define LUAC_FORMAT 0 /* this is the official format */
|
#define LUAC_FORMAT 0 /* this is the official format */
|
||||||
|
|
||||||
|
@ -342,7 +342,7 @@ do -- another bug (in 5.4.0)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
do -- another bug (since 5.2)
|
if not _port then -- another bug (since 5.2)
|
||||||
-- corrupted binary dump: list of upvalue names is larger than number
|
-- corrupted binary dump: list of upvalue names is larger than number
|
||||||
-- of upvalues, overflowing the array of upvalues.
|
-- of upvalues, overflowing the array of upvalues.
|
||||||
local code =
|
local code =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user