diff options
Diffstat (limited to 'Src/loop.c')
-rw-r--r-- | Src/loop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/loop.c b/Src/loop.c index b1edb22c4..668f47b97 100644 --- a/Src/loop.c +++ b/Src/loop.c @@ -171,6 +171,7 @@ execfor(Estate state, int do_exec) popheap(); cmdpop(); loops--; + state->pc = end; return lastval; } @@ -394,6 +395,7 @@ execwhile(Estate state, int do_exec) cmdpop(); popheap(); loops--; + state->pc = end; return lastval; } |