diff options
Diffstat (limited to 'Src/lex.c')
-rw-r--r-- | Src/lex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/lex.c b/Src/lex.c index 05f54f842..1cf3611c9 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1857,7 +1857,8 @@ exalias(void) /* Then check for a reserved word */ if ((incmdpos || - (unset(IGNOREBRACES) && zshlextext[0] == '}' && !zshlextext[1])) && + (unset(IGNOREBRACES) && unset(IGNORECLOSEBRACES) && + zshlextext[0] == '}' && !zshlextext[1])) && (rw = (Reswd) reswdtab->getnode(reswdtab, zshlextext))) { tok = rw->token; if (tok == DINBRACK) |