diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-13 15:13:52 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-13 15:13:52 -0300 |
commit | 1ab3208a1fceb12fca8f24ba57d6e13c5bff15e3 (patch) | |
tree | e180f4dd1591086c5268a074571aa63c49171c27 /lundump.h | |
parent | 21ff8de33a5aca9c3c907592b894e4b9ab036d3e (diff) | |
download | lua-5.4.7.tar.gz lua-5.4.7.tar.bz2 lua-5.4.7.zip |
'lua.h' back to redundancy in version definitionsv5.4.7
Several tools inspect 'lua.h' to extract version information, and
they assume the file will have some specific format.
Diffstat (limited to 'lundump.h')
-rw-r--r-- | lundump.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ | |||
21 | /* | 21 | /* |
22 | ** Encode major-minor version in one byte, one nibble for each | 22 | ** Encode major-minor version in one byte, one nibble for each |
23 | */ | 23 | */ |
24 | #define LUAC_VERSION (LUA_VERSION_MAJOR_N*16+LUA_VERSION_MINOR_N) | 24 | #define LUAC_VERSION (((LUA_VERSION_NUM / 100) * 16) + LUA_VERSION_NUM % 100) |
25 | 25 | ||
26 | #define LUAC_FORMAT 0 /* this is the official format */ | 26 | #define LUAC_FORMAT 0 /* this is the official format */ |
27 | 27 | ||