about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-05-21 10:25:07 +0100
committerPeter Stephenson <pws@zsh.org>2015-05-21 10:25:07 +0100
commitafb78f5d142786169817709e6ec4c48637bcae93 (patch)
tree8401778d995425aa59aaba0bd7136f2db7c57a51 /Src/lex.c
parentaf957f2ed6287f66953742fbca69188cecb98fbf (diff)
downloadzsh-afb78f5d142786169817709e6ec4c48637bcae93.tar.gz
zsh-afb78f5d142786169817709e6ec4c48637bcae93.tar.xz
zsh-afb78f5d142786169817709e6ec4c48637bcae93.zip
35248: treat fully parenthised zsh patterns as complete case patterns again
Diffstat (limited to 'Src/lex.c')
-rw-r--r--Src/lex.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Src/lex.c b/Src/lex.c
index 87b0cd3af..841fb0b86 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -761,8 +761,6 @@ gettok(void)
 	lexstop = 0;
 	return BAR;
     case LX1_INPAR:
-	if (incasepat == 2)
-	    return INPAR;
 	d = hgetc();
 	if (d == '(') {
 	    if (infor) {