summaryrefslogtreecommitdiff
path: root/Src/parse.c
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2014-10-03 08:50:25 -0700
committerBart Schaefer <schaefer@zsh.org>2014-10-03 08:50:25 -0700
commit74e26bf1262c921c691ee0451ced99aa4eb8aefa (patch)
tree30c5efdfd0fcb5972b0ea15f89b820e5173c95c3 /Src/parse.c
parent31750795fe13fc0343ade4f2aadb55f20548f628 (diff)
downloadzsh-74e26bf1262c921c691ee0451ced99aa4eb8aefa.tar.gz
zsh-74e26bf1262c921c691ee0451ced99aa4eb8aefa.zip
33346: another bit of the 33345 repair
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c3
1 files changed, 2 insertions, 1 deletions
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;
}