diff options
author | Bart Schaefer <schaefer@zsh.org> | 2014-10-03 08:50:25 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2014-10-03 08:50:25 -0700 |
commit | 74e26bf1262c921c691ee0451ced99aa4eb8aefa (patch) | |
tree | 30c5efdfd0fcb5972b0ea15f89b820e5173c95c3 | |
parent | 31750795fe13fc0343ade4f2aadb55f20548f628 (diff) | |
download | zsh-74e26bf1262c921c691ee0451ced99aa4eb8aefa.tar.gz zsh-74e26bf1262c921c691ee0451ced99aa4eb8aefa.tar.xz zsh-74e26bf1262c921c691ee0451ced99aa4eb8aefa.zip |
33346: another bit of the 33345 repair
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/parse.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 3e273d1ec..5e5f3f268 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-10-03 Bart Schaefer <schaefer@zsh.org> + + * 33346: Src/parse.c: another bit of the 33345 repair + 2014-10-03 Peter Stephenson <p.stephenson@samsung.com> * 33345: Src/parse.c, Test/C04funcdef.ztst: fix longstanding diff --git a/Src/parse.c b/Src/parse.c index f4ea639d6..433efb94e 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -1523,7 +1523,8 @@ par_funcdef(int *cmplx) num++; zshlex(); } - *cmplx = (num > 0); + if (num > 0) + *cmplx = 1; ecbuf[parg] = ecused - parg; /*?*/ ecbuf[parg+1] = num; } |