diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2013-08-14 19:34:13 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2013-08-14 19:34:13 +0000 |
| commit | adc2e8dfb4c09a8fb807a9e83289d18c9be33967 (patch) | |
| tree | 62ccfcc3c8d54aa063ad08d8afd4497008271b6c /bin | |
| parent | a2bc8a1d0c86bb3b6dd6e0cf574aad37c46b6dc4 (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 f079c69c31df..ec15f587e34a 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -577,6 +577,9 @@ TRACE(("expecting DO got %s %s\n", tokname[got], got == TWORD ? wordtext : "")); case TSEMI: case TAND: case TOR: + case TPIPE: + case TENDCASE: + case TFALLTHRU: /* * An empty command before a ; doesn't make much sense, and * should certainly be disallowed in the case of `if ;'. |
