aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-04-18 09:44:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-04-18 09:44:10 -0300
commite15f1f2bb7a38a3c94519294d031e48508d65006 (patch)
tree1528b4a73da045e4d1617c1a276e66c056ba7686 /lua.c
parentb5c65705ca78560cd2735778737122ea5f858bd0 (diff)
downloadlua-e15f1f2bb7a38a3c94519294d031e48508d65006.tar.gz
lua-e15f1f2bb7a38a3c94519294d031e48508d65006.tar.bz2
lua-e15f1f2bb7a38a3c94519294d031e48508d65006.zip
Detailsv5.4.5
Typos in comments and details in the manual.
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua.c b/lua.c
index 715430a0..0ff88454 100644
--- a/lua.c
+++ b/lua.c
@@ -666,7 +666,7 @@ int main (int argc, char **argv) {
666 l_message(argv[0], "cannot create state: not enough memory"); 666 l_message(argv[0], "cannot create state: not enough memory");
667 return EXIT_FAILURE; 667 return EXIT_FAILURE;
668 } 668 }
669 lua_gc(L, LUA_GCSTOP); /* stop GC while buidling state */ 669 lua_gc(L, LUA_GCSTOP); /* stop GC while building state */
670 lua_pushcfunction(L, &pmain); /* to call 'pmain' in protected mode */ 670 lua_pushcfunction(L, &pmain); /* to call 'pmain' in protected mode */
671 lua_pushinteger(L, argc); /* 1st argument */ 671 lua_pushinteger(L, argc); /* 1st argument */
672 lua_pushlightuserdata(L, argv); /* 2nd argument */ 672 lua_pushlightuserdata(L, argv); /* 2nd argument */