diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2002-10-06 18:38:14 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2002-10-06 18:38:14 +0000 |
commit | d4c7657014ea9bdeedb214b36ff3d7ce6e8af2e4 (patch) | |
tree | 4c04ddce5d306618cd86c8a5dc5d26671f5620af /Src/parse.c | |
parent | fbc08ff52c45e1e42a69507ff386b8de2e0457dc (diff) | |
download | zsh-d4c7657014ea9bdeedb214b36ff3d7ce6e8af2e4.tar.gz zsh-d4c7657014ea9bdeedb214b36ff3d7ce6e8af2e4.tar.xz zsh-d4c7657014ea9bdeedb214b36ff3d7ce6e8af2e4.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 b53b36a0e..a6c4cd10b 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -1042,6 +1042,8 @@ par_case(int *complex) yylex(); if (tok == OUTBRACE) break; + if (tok == INPAR) + yylex(); if (tok != STRING) YYERRORV(oecused); if (!strcmp(tokstr, "esac")) |