diff options
author | Peter Stephenson <pws@zsh.org> | 2014-10-03 16:29:56 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2014-10-03 16:29:56 +0100 |
commit | 31750795fe13fc0343ade4f2aadb55f20548f628 (patch) | |
tree | 267138cda2a015cd674702f558ff5d0a7eb96c62 /Test | |
parent | a778215b7c866c50830d4e1f750848239d009683 (diff) | |
download | zsh-31750795fe13fc0343ade4f2aadb55f20548f628.tar.gz zsh-31750795fe13fc0343ade4f2aadb55f20548f628.tar.xz zsh-31750795fe13fc0343ade4f2aadb55f20548f628.zip |
33345: fix anonymous function complex command handling.
Longstanding problem caused simple anonymous function incorrectly to reset the overall "complext" state, causing wordcode to be diverted into execsimple(), which caused a crash 'cos ist wasn't simple.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/C04funcdef.ztst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst index 193757090..10491a229 100644 --- a/Test/C04funcdef.ztst +++ b/Test/C04funcdef.ztst @@ -279,6 +279,10 @@ >anon func >lsfoo + print foo | () cat +0:Simple anonymous function should not simplify enclosing pipeline +>foo + %clean rm -f file.in file.out |