Typos in comments and details in the manual.
This commit is contained in:
Roberto Ierusalimschy
2023-04-18 09:44:10 -03:00
parent b5c65705ca
commit e15f1f2bb7
7 changed files with 14 additions and 14 deletions

2
lua.c
View File

@@ -666,7 +666,7 @@ int main (int argc, char **argv) {
l_message(argv[0], "cannot create state: not enough memory");
return EXIT_FAILURE;
}
lua_gc(L, LUA_GCSTOP); /* stop GC while buidling state */
lua_gc(L, LUA_GCSTOP); /* stop GC while building state */
lua_pushcfunction(L, &pmain); /* to call 'pmain' in protected mode */
lua_pushinteger(L, argc); /* 1st argument */
lua_pushlightuserdata(L, argv); /* 2nd argument */