diff options
| author | Brian Somers <brian@FreeBSD.org> | 2001-04-04 09:30:50 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2001-04-04 09:30:50 +0000 |
| commit | 51a9b1c28198de151e174dc8b1e1bbc39b345536 (patch) | |
| tree | 785a986febebf784bac8e395886d7f82c8be3287 /bin | |
| parent | 355c6ef4b4b08c0cc7769ea98c9016b2b8adaa14 (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/sh/parser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c index 08d25696ffc2..9164b6031ae0 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -256,13 +256,16 @@ pipeline() { union node *n1, *pipenode, *notnode; struct nodelist *lp, *prev; int negate = 0; + int savecheckkwd = checkkwd; TRACE(("pipeline: entered\n")); + checkkwd = 2; while (readtoken() == TNOT) { TRACE(("pipeline: TNOT recognized\n")); negate = !negate; } tokpushback++; + checkkwd = savecheckkwd; n1 = command(); if (readtoken() == TPIPE) { pipenode = (union node *)stalloc(sizeof (struct npipe)); |
