diff options
Diffstat (limited to 'Src/lex.c')
-rw-r--r-- | Src/lex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/lex.c b/Src/lex.c index 7a0bf2b1c..095d58150 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -155,6 +155,7 @@ mod_export char *tokstrings[WHILE + 1] = { "))", /* DOUTPAR */ "&|", /* AMPERBANG 30 */ ";&", /* SEMIAMP */ + ";|", /* SEMIBAR */ }; /* lexical state */ @@ -381,6 +382,7 @@ ctxtlex(void) case SEMI: case DSEMI: case SEMIAMP: + case SEMIBAR: case AMPER: case AMPERBANG: case INPAR: @@ -713,6 +715,8 @@ gettok(void) return DSEMI; else if(d == '&') return SEMIAMP; + else if (d == '|') + return SEMIBAR; hungetc(d); lexstop = 0; return SEMI; |