update lua 5.4.7

This commit is contained in:
Cloud Wu
2024-06-26 08:41:59 +08:00
parent aa20f7642b
commit afb50a0587
31 changed files with 388 additions and 260 deletions

View File

@@ -21,8 +21,7 @@
/*
** Encode major-minor version in one byte, one nibble for each
*/
#define MYINT(s) (s[0]-'0') /* assume one-digit numerals */
#define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
#define LUAC_VERSION (((LUA_VERSION_NUM / 100) * 16) + LUA_VERSION_NUM % 100)
#define LUAC_FORMAT 0 /* this is the official format */