aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ltests.c b/ltests.c
index c512718c..9aef6953 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 1.27 2000/06/26 19:28:31 roberto Exp roberto $ 2** $Id: ltests.c,v 1.28 2000/06/28 17:06:07 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -374,8 +374,7 @@ static void testC (void) {
374 } 374 }
375 else if EQ("newstate") { 375 else if EQ("newstate") {
376 int stacksize = getnum(&pc); 376 int stacksize = getnum(&pc);
377 lua_State *L1 = lua_newstate("stack", stacksize, 377 lua_State *L1 = lua_newstate(stacksize, getnum(&pc));
378 "builtin", getnum(&pc), NULL);
379 lua_pushuserdata(L1); 378 lua_pushuserdata(L1);
380 } 379 }
381 else if EQ("closestate") { 380 else if EQ("closestate") {