aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-08-26 10:27:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-08-26 10:27:42 -0300
commitf94cd2201c3a8d341db448f2719dfb0ae4338adf (patch)
tree34f49a3e607098699b1f9e3af9358c062ec8425e /lstate.c
parentfdbb243ff9980870c54676f3b2597b110ab82864 (diff)
downloadlua-f94cd2201c3a8d341db448f2719dfb0ae4338adf.tar.gz
lua-f94cd2201c3a8d341db448f2719dfb0ae4338adf.tar.bz2
lua-f94cd2201c3a8d341db448f2719dfb0ae4338adf.zip
better control of call status through CallInfo
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 b88f49a4..c57b11d6 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 2.45 2008/06/26 19:42:45 roberto Exp roberto $ 2** $Id: lstate.c,v 2.46 2008/08/13 17:01:33 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,7 +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 L1->ci->callstatus = 0;
60} 60}
61 61
62 62