aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-12-07 15:45:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-12-07 15:45:11 -0300
commit925fe8a0f2a667c96c015ee74d1a702af9ea5507 (patch)
treebca1cb92e11218498f4c76f651f4a5fa1a8c87b5 /lua.c
parent789e7acdea3ada96bd00b7aac6d82e805bfee85c (diff)
downloadlua-925fe8a0f2a667c96c015ee74d1a702af9ea5507.tar.gz
lua-925fe8a0f2a667c96c015ee74d1a702af9ea5507.tar.bz2
lua-925fe8a0f2a667c96c015ee74d1a702af9ea5507.zip
First criteria for shifts minor<->major
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 1e884b07..d26dd8ac 100644
--- a/lua.c
+++ b/lua.c
@@ -646,7 +646,7 @@ static int pmain (lua_State *L) {
646 luai_openlibs(L); /* open standard libraries */ 646 luai_openlibs(L); /* open standard libraries */
647 createargtable(L, argv, argc, script); /* create table 'arg' */ 647 createargtable(L, argv, argc, script); /* create table 'arg' */
648 lua_gc(L, LUA_GCRESTART); /* start GC... */ 648 lua_gc(L, LUA_GCRESTART); /* start GC... */
649 lua_gc(L, LUA_GCGEN, 0, 0); /* ...in generational mode */ 649 lua_gc(L, LUA_GCGEN, -1, -1, -1); /* ...in generational mode */
650 if (!(args & has_E)) { /* no option '-E'? */ 650 if (!(args & has_E)) { /* no option '-E'? */
651 if (handle_luainit(L) != LUA_OK) /* run LUA_INIT */ 651 if (handle_luainit(L) != LUA_OK) /* run LUA_INIT */
652 return 0; /* error running LUA_INIT */ 652 return 0; /* error running LUA_INIT */