diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2002-10-06 18:37:45 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2002-10-06 18:37:45 +0000 |
commit | 0e0ba99114e0e1a0b919ea31cc97bcacb9db9092 (patch) | |
tree | 5ab6894d0ffb2c26393470b90a875d06fef8b6cb /Src/parse.c | |
parent | ff66dfd9e26c461968c5fec62b0b7f4dab282ca0 (diff) | |
download | zsh-0e0ba99114e0e1a0b919ea31cc97bcacb9db9092.tar.gz zsh-0e0ba99114e0e1a0b919ea31cc97bcacb9db9092.tar.xz zsh-0e0ba99114e0e1a0b919ea31cc97bcacb9db9092.zip |
17760: Fix case-pattern parsing bug in sh emulation.
Diffstat (limited to 'Src/parse.c')
-rw-r--r-- | Src/parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/parse.c b/Src/parse.c index f60063bfd..b3072201a 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -1028,6 +1028,8 @@ par_case(int *complex) yylex(); if (tok == OUTBRACE) break; + if (tok == INPAR) + yylex(); if (tok != STRING) YYERRORV(oecused); if (!strcmp(tokstr, "esac")) |