hush: small fix for repeated continue and fix for wrong loop depth count

after Ctrl-C; with testcase for first one
This commit is contained in:
Denis Vlasenko
2008-07-29 13:36:09 +00:00
parent 45cb9f9581
commit 4554b721ad
3 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
for v in a b c; do echo A:$v; continue 666; done
echo OK1
for v in a b c; do echo A:$v; continue 666; done
echo OK2