summaryrefslogtreecommitdiff
path: root/Src/loop.c
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2016-12-06 21:51:35 +0100
committerAxel Beckert <abe@deuxchevaux.org>2016-12-06 21:51:35 +0100
commite631e433ac7afacf9f756f2bc0dec47fa5930a24 (patch)
tree9d67e40f2c33ad956c063f1356dbd226cf649850 /Src/loop.c
parentf6ab748f518e7fa542f3a7bef311c698a45b1fef (diff)
parent9f605904dda106c181717877f29261782fbf243d (diff)
downloadzsh-e631e433ac7afacf9f756f2bc0dec47fa5930a24.tar.gz
zsh-e631e433ac7afacf9f756f2bc0dec47fa5930a24.zip
Merge tag 'zsh-5.2-test-2' into debian
Second test version before 5.3
Diffstat (limited to 'Src/loop.c')
-rw-r--r--Src/loop.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/loop.c b/Src/loop.c
index 367c0df5c..ae87b2f5f 100644
--- a/Src/loop.c
+++ b/Src/loop.c
@@ -208,6 +208,7 @@ execfor(Estate state, int do_exec)
loops--;
simple_pline = old_simple_pline;
state->pc = end;
+ this_noerrexit = 1;
return lastval;
}
@@ -335,6 +336,7 @@ execselect(Estate state, UNUSED(int do_exec))
loops--;
simple_pline = old_simple_pline;
state->pc = end;
+ this_noerrexit = 1;
return lastval;
}
@@ -472,6 +474,7 @@ execwhile(Estate state, UNUSED(int do_exec))
popheap();
loops--;
state->pc = end;
+ this_noerrexit = 1;
return lastval;
}
@@ -523,6 +526,7 @@ execrepeat(Estate state, UNUSED(int do_exec))
loops--;
simple_pline = old_simple_pline;
state->pc = end;
+ this_noerrexit = 1;
return lastval;
}
@@ -573,6 +577,7 @@ execif(Estate state, int do_exec)
lastval = 0;
}
state->pc = end;
+ this_noerrexit = 1;
return lastval;
}
@@ -682,6 +687,7 @@ execcase(Estate state, int do_exec)
if (!anypatok)
lastval = 0;
+ this_noerrexit = 1;
return lastval;
}