diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-13 13:36:52 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-13 13:36:52 -0200 |
commit | 5440b42f434ecb6fe7a8e0d19fb8e8baf82e90b7 (patch) | |
tree | 6a54560da88065db590bf439c7af64fea88334bb /lstate.c | |
parent | 7d4828cc9fdc982ec713922777e77240892474e8 (diff) | |
download | lua-5440b42f434ecb6fe7a8e0d19fb8e8baf82e90b7.tar.gz lua-5440b42f434ecb6fe7a8e0d19fb8e8baf82e90b7.tar.bz2 lua-5440b42f434ecb6fe7a8e0d19fb8e8baf82e90b7.zip |
using 'trap' to stop 'luaV_execute' when necessary (tracing and
to update its copy of 'base' when the stack is reallocated)
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.143 2017/10/31 17:54:35 roberto Exp $ | 2 | ** $Id: lstate.c,v 2.146 2017/11/07 13:25:26 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 | */ |
@@ -103,6 +103,7 @@ CallInfo *luaE_extendCI (lua_State *L) { | |||
103 | L->ci->next = ci; | 103 | L->ci->next = ci; |
104 | ci->previous = L->ci; | 104 | ci->previous = L->ci; |
105 | ci->next = NULL; | 105 | ci->next = NULL; |
106 | ci->u.l.trap = 0; | ||
106 | L->nci++; | 107 | L->nci++; |
107 | return ci; | 108 | return ci; |
108 | } | 109 | } |