diff options
-rw-r--r-- | lstate.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -196,6 +196,8 @@ static void stack_init (lua_State *L1, lua_State *L) { | |||
196 | ci->next = ci->previous = NULL; | 196 | ci->next = ci->previous = NULL; |
197 | ci->callstatus = CIST_C; | 197 | ci->callstatus = CIST_C; |
198 | ci->func = L1->top; | 198 | ci->func = L1->top; |
199 | ci->u.c.k = NULL; | ||
200 | ci->nresults = 0; | ||
199 | setnilvalue(s2v(L1->top)); /* 'function' entry for this 'ci' */ | 201 | setnilvalue(s2v(L1->top)); /* 'function' entry for this 'ci' */ |
200 | L1->top++; | 202 | L1->top++; |
201 | ci->top = L1->top + LUA_MINSTACK; | 203 | ci->top = L1->top + LUA_MINSTACK; |