diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-12-08 19:42:07 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-12-08 19:42:07 +0000 |
commit | e3182c18de8f84c2d7eb003f9c731ada5e9a591f (patch) | |
tree | 3ed57c8e61518c8ad98e93e4961b7b881237e0c6 /Src/lex.c | |
parent | 22aede45f67161c6332e52c42e04df45a3e62164 (diff) | |
download | zsh-e3182c18de8f84c2d7eb003f9c731ada5e9a591f.tar.gz zsh-e3182c18de8f84c2d7eb003f9c731ada5e9a591f.tar.xz zsh-e3182c18de8f84c2d7eb003f9c731ada5e9a591f.zip |
29955++: IGNORE_CLOSE_BRACES option
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) |