aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index 4e281977..ab2b7bb5 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 1.101 2002/08/05 18:45:45 roberto Exp roberto $ 2** $Id: lstate.c,v 1.102 2002/08/06 15:32:22 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -41,7 +41,7 @@ static void stack_init (lua_State *L, lua_State *OL) {
41 L->stack_last = L->stack+(L->stacksize - EXTRA_STACK)-1; 41 L->stack_last = L->stack+(L->stacksize - EXTRA_STACK)-1;
42 L->base_ci = luaM_newvector(OL, BASIC_CI_SIZE, CallInfo); 42 L->base_ci = luaM_newvector(OL, BASIC_CI_SIZE, CallInfo);
43 L->ci = L->base_ci; 43 L->ci = L->base_ci;
44 L->ci->pc = NULL; /* not a Lua function */ 44 L->ci->state = CI_C; /* not a Lua function */
45 setnilvalue(L->top++); /* `function' entry for this `ci' */ 45 setnilvalue(L->top++); /* `function' entry for this `ci' */
46 L->ci->base = L->top; 46 L->ci->base = L->top;
47 L->ci->top = L->top + LUA_MINSTACK; 47 L->ci->top = L->top + LUA_MINSTACK;