diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-10-03 18:11:12 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-10-03 18:11:12 +0000 |
commit | 61b9529ff848d6758b498389256111984bda1437 (patch) | |
tree | 1b52a789c476386ebfdfb1f3ed28bd05b69d5ada /Src | |
parent | 76590bd93c438bb1f4dc3dc17fa478ab15533fef (diff) | |
download | zsh-61b9529ff848d6758b498389256111984bda1437.tar.gz zsh-61b9529ff848d6758b498389256111984bda1437.tar.xz zsh-61b9529ff848d6758b498389256111984bda1437.zip |
users/17310: we can't treat < after [ as a normal character.
Document problem and test for case that needs to work.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/lex.c b/Src/lex.c index d02b3885a..1cf3611c9 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1218,7 +1218,7 @@ gettokstr(int c, int sub) c = Comma; break; case LX2_OUTANG: - if (in_brace_param || sub || brct) + if (in_brace_param || sub) break; e = hgetc(); if (e != '(') { @@ -1255,7 +1255,7 @@ gettokstr(int c, int sub) break; } lexstop = 0; - if (in_brace_param || sub || brct) + if (in_brace_param || sub) break; goto brk; case LX2_EQUALS: |