diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-29 12:08:25 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-29 12:08:25 +0000 |
| commit | 0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7 (patch) | |
| tree | 3ca0559d7265892ac77b90acb3b565db2112d1e3 /Src/parse.c | |
| parent | reverse meaning of yes=num again (12122) (diff) | |
| download | zsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.tar zsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.tar.gz zsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.tar.bz2 zsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.tar.lz zsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.tar.xz zsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.tar.zst zsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.zip | |
fix for `foo () print bar' (function definitions without braces) (12125)
Diffstat (limited to 'Src/parse.c')
| -rw-r--r-- | Src/parse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/parse.c b/Src/parse.c index 4f79b2e4b..ab2cf5a02 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -1516,10 +1516,11 @@ par_simple(int *complex, int nr) } yylex(); } else { - int ll, sl, c = 0; + int ll, sl, pl, c = 0; ll = ecadd(0); sl = ecadd(0); + pl = ecadd(WCB_PIPE(WC_PIPE_END, 0)); par_cmd(&c); |
