diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-08-26 10:27:42 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-08-26 10:27:42 -0300 |
| commit | f94cd2201c3a8d341db448f2719dfb0ae4338adf (patch) | |
| tree | 34f49a3e607098699b1f9e3af9358c062ec8425e /lstate.c | |
| parent | fdbb243ff9980870c54676f3b2597b110ab82864 (diff) | |
| download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
