aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
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 */