diff options
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.257 2002/10/08 18:46:08 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.258 2002/10/25 20:05:28 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -592,6 +592,7 @@ StkId luaV_execute (lua_State *L) { | |||
592 | if (firstResult > L->top) { /* yield? */ | 592 | if (firstResult > L->top) { /* yield? */ |
593 | (L->ci - 1)->u.l.savedpc = pc; | 593 | (L->ci - 1)->u.l.savedpc = pc; |
594 | (L->ci - 1)->state = CI_SAVEDPC; | 594 | (L->ci - 1)->state = CI_SAVEDPC; |
595 | L->ci->state |= CI_YIELD; | ||
595 | return NULL; | 596 | return NULL; |
596 | } | 597 | } |
597 | /* it was a C function (`precall' called it); adjust results */ | 598 | /* it was a C function (`precall' called it); adjust results */ |