mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-11 22:20:49 +02:00
alias expansion fix in case statements
This commit is contained in:
@@ -2975,8 +2975,12 @@ alias_expand_token (tokstr)
|
||||
char *expanded;
|
||||
alias_t *ap;
|
||||
|
||||
#if 0
|
||||
if (((parser_state & PST_ALEXPNEXT) || command_token_position (last_read_token)) &&
|
||||
(parser_state & PST_CASEPAT) == 0)
|
||||
#else
|
||||
if ((parser_state & PST_ALEXPNEXT) || assignment_acceptable (last_read_token))
|
||||
#endif
|
||||
{
|
||||
ap = find_alias (tokstr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user