From 0e0ba99114e0e1a0b919ea31cc97bcacb9db9092 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sun, 6 Oct 2002 18:37:45 +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 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")) -- cgit 1.4.1