summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-05-07 14:52:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-05-07 14:52:19 -0300
commit0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27 (patch)
treeae72fdc58b14151847c9afba5cb8bbfe725d449f
parent61a4e64a6667bedaa882571c48a173ef5a4ba73b (diff)
downloadlua-github-0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27.tar.gz
Details in comments
-rw-r--r--lauxlib.c2
-rw-r--r--lundump.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 72359094..a5e9e4b5 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -87,7 +87,7 @@ static int pushglobalfuncname (lua_State *L, lua_Debug *ar) {
lua_remove(L, -2); /* remove original name */
}
lua_copy(L, -1, top + 1); /* copy name to proper place */
- lua_settop(L, top + 1); /* remove table "loaded" an name copy */
+ lua_settop(L, top + 1); /* remove table "loaded" and name copy */
return 1;
}
else {
diff --git a/lundump.h b/lundump.h
index 2df6923e..f3748a99 100644
--- a/lundump.h
+++ b/lundump.h
@@ -21,7 +21,7 @@
/*
** Encode major-minor version in one byte, one nibble for each
*/
-#define MYINT(s) (s[0]-'0') /* assume one-digit numbers */
+#define MYINT(s) (s[0]-'0') /* assume one-digit numerals */
#define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
#define LUAC_FORMAT 0 /* this is the official format */