From d4c7657014ea9bdeedb214b36ff3d7ce6e8af2e4 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sun, 6 Oct 2002 18:38:14 +0000 Subject: 17760: Fix case-pattern parsing bug in sh emulation. --- Src/parse.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/parse.c') 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")) -- cgit v1.2.3