diff options
| author | Lua Team <team@lua.org> | 2004-09-21 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2004-09-21 12:00:00 +0000 |
| commit | d8fd22e11b391cf183068049bebbee9702c8f78f (patch) | |
| tree | 12d2fd56e51ab38e8ad660c34aca2975d1a273ea /src/lvm.c | |
| parent | 5d480731503a315eab9d6ab9426e3d4cfd5e52f8 (diff) | |
| download | lua-github-5.1-work2.tar.gz | |
Lua 5.1-work25.1-work2
Diffstat (limited to 'src/lvm.c')
| -rw-r--r-- | src/lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 2.13 2004/08/12 14:19:51 roberto Exp $ +** $Id: lvm.c,v 2.14 2004/09/15 20:39:42 roberto Exp $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -398,7 +398,7 @@ StkId luaV_execute (lua_State *L, int nexeccalls) { if ((L->hookmask & (LUA_MASKLINE | LUA_MASKCOUNT)) && (--L->hookcount == 0 || L->hookmask & LUA_MASKLINE)) { traceexec(L, pc); /***/ - if (L->isSuspended) { /* did hook yield? */ + if (L->status == LUA_YIELD) { /* did hook yield? */ L->ci->savedpc = pc - 1; return NULL; } |
