diff options
| author | Toby Goodwin <toby@paccrat.org> | 2018-03-26 18:21:22 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2018-03-26 18:21:22 +0100 |
| commit | 0a1ecd59e87e2a3f394be2bcf9bf14d2eb293fc8 (patch) | |
| tree | eccab1b229c3c736b555a8e717a3672d33555d18 /parse.y | |
| parent | 969af168ea450bf79f800da620efefa91ed1f174 (diff) | |
| parent | 47151e4647b8decd77bb65c4fbe0dadb16ae79a8 (diff) | |
Merge branch 'master' into ifnot
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ cmd : /* empty */ %prec WHILE { $$ = NULL; } | TWIDDLE optcaret word words { $$ = mk(nMatch,$3,$4); } | cmd ANDAND optnl cmd { $$ = mk(nAndalso,$1,$4); } | cmd OROR optnl cmd { $$ = mk(nOrelse,$1,$4); } - | cmd PIPE optnl cmd { $$ = mk(nPipe,$2.left,$2.right,$1,$4); } + | cmd PIPE optnl cmd { $$ = mk(nPipe,$2.left,$2.right,$1,$4); } | redir cmd %prec PREDIR { $$ = ($2 != NULL ? mk(nPre,$1,$2) : $1); } | assign cmd %prec BANG { $$ = ($2 != NULL ? mk(nPre,$1,$2) : $1); } | BANG optcaret cmd { $$ = mk(nBang,$3); } |