mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 10:50:50 +02:00
commit bash-20170929 snapshot
This commit is contained in:
@@ -2996,7 +2996,11 @@ special_case_tokens (tokstr)
|
||||
(token_before_that == FOR) &&
|
||||
#endif
|
||||
(tokstr[0] == 'd' && tokstr[1] == 'o' && tokstr[2] == '\0'))
|
||||
return (DO);
|
||||
{
|
||||
if (expecting_in_token)
|
||||
expecting_in_token--;
|
||||
return (DO);
|
||||
}
|
||||
|
||||
/* Ditto for ESAC in the CASE case.
|
||||
Specifically, this handles "case word in esac", which is a legal
|
||||
|
||||
Reference in New Issue
Block a user