mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 19:00:50 +02:00
commit bash-20161118 snapshot
This commit is contained in:
@@ -2977,9 +2977,9 @@ special_case_tokens (tokstr)
|
||||
the designers disagree. */
|
||||
if (esacs_needed_count)
|
||||
{
|
||||
esacs_needed_count--;
|
||||
if (STREQ (tokstr, "esac"))
|
||||
if (last_read_token == IN && STREQ (tokstr, "esac"))
|
||||
{
|
||||
esacs_needed_count--;
|
||||
parser_state &= ~PST_CASEPAT;
|
||||
return (ESAC);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user