diff options
-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; } |