about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-05-18 12:06:43 +0100
committerPeter Stephenson <pws@zsh.org>2015-05-18 12:06:43 +0100
commit2d6569e5906ad504ecc66a3b0114cd284afd81a1 (patch)
tree241431dc698721381c643541595708f9dce3ce93 /Src
parent52aeb9aaeb4799b760138a7c34b18ede4b47242a (diff)
downloadzsh-2d6569e5906ad504ecc66a3b0114cd284afd81a1.tar.gz
zsh-2d6569e5906ad504ecc66a3b0114cd284afd81a1.tar.xz
zsh-2d6569e5906ad504ecc66a3b0114cd284afd81a1.zip
35184: Additional case fix for 35168.
Lexical analysis flags got screwed up after a "|", so we
didn't parse patterns properly, in particular those with parentheses.
Diffstat (limited to 'Src')
-rw-r--r--Src/parse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Src/parse.c b/Src/parse.c
index c938d2dce..c48669995 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1174,8 +1174,6 @@ par_case(int *cmplx)
 	if (!strcmp(tokstr, "esac"))
 	    break;
 	str = dupstring(tokstr);
-	incasepat = 0;
-	incmdpos = 1;
 	type = WC_CASE_OR;
 	pp = ecadd(0);
 	palts = ecadd(0);