From d7e3ef40ec5b99676d7f33f501c8f3b59446a938 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 13 Mar 2000 17:03:31 +0000 Subject: zsh-workers/10120 --- Src/loop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/loop.c') 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; } -- cgit 1.4.1