diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.44 2008/02/19 18:55:09 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.45 2008/06/26 19:42:45 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 | */ |
@@ -56,6 +56,7 @@ static void stack_init (lua_State *L1, lua_State *L) { | |||
56 | setnilvalue(L1->top++); /* `function' entry for this `ci' */ | 56 | setnilvalue(L1->top++); /* `function' entry for this `ci' */ |
57 | L1->base = L1->ci->base = L1->top; | 57 | L1->base = L1->ci->base = L1->top; |
58 | L1->ci->top = L1->top + LUA_MINSTACK; | 58 | L1->ci->top = L1->top + LUA_MINSTACK; |
59 | L1->ci->status = 0; | ||
59 | } | 60 | } |
60 | 61 | ||
61 | 62 | ||