diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-05-07 14:52:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-05-07 14:52:19 -0300 |
commit | 0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27 (patch) | |
tree | ae72fdc58b14151847c9afba5cb8bbfe725d449f | |
parent | 61a4e64a6667bedaa882571c48a173ef5a4ba73b (diff) | |
download | lua-0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27.tar.gz lua-0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27.tar.bz2 lua-0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27.zip |
Details in comments
-rw-r--r-- | lauxlib.c | 2 | ||||
-rw-r--r-- | lundump.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -87,7 +87,7 @@ static int pushglobalfuncname (lua_State *L, lua_Debug *ar) { | |||
87 | lua_remove(L, -2); /* remove original name */ | 87 | lua_remove(L, -2); /* remove original name */ |
88 | } | 88 | } |
89 | lua_copy(L, -1, top + 1); /* copy name to proper place */ | 89 | lua_copy(L, -1, top + 1); /* copy name to proper place */ |
90 | lua_settop(L, top + 1); /* remove table "loaded" an name copy */ | 90 | lua_settop(L, top + 1); /* remove table "loaded" and name copy */ |
91 | return 1; | 91 | return 1; |
92 | } | 92 | } |
93 | else { | 93 | else { |
@@ -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 MYINT(s) (s[0]-'0') /* assume one-digit numbers */ | 24 | #define MYINT(s) (s[0]-'0') /* assume one-digit numerals */ |
25 | #define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR)) | 25 | #define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR)) |
26 | 26 | ||
27 | #define LUAC_FORMAT 0 /* this is the official format */ | 27 | #define LUAC_FORMAT 0 /* this is the official format */ |