about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-13 09:44:19 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-13 09:44:19 +0000
commitb1fcad6a63555840fd50a1678a7755443f892665 (patch)
tree1d1d19b4634c15145752b3eb5cd0196776bd1fa0 /Src/lex.c
parent5e8320bf2bc3eb1faf702fcbd9ebf572912170e7 (diff)
downloadzsh-b1fcad6a63555840fd50a1678a7755443f892665.tar.gz
zsh-b1fcad6a63555840fd50a1678a7755443f892665.tar.xz
zsh-b1fcad6a63555840fd50a1678a7755443f892665.zip
zsh-workers/10105
Diffstat (limited to 'Src/lex.c')
-rw-r--r--Src/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/lex.c b/Src/lex.c
index 3f3c0f9d2..147bea598 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -1526,7 +1526,7 @@ exalias(void)
 	    } else if (incond && !strcmp(yytext, "]]")) {
 		tok = DOUTBRACK;
 		incond = 0;
-	    } else if (incond && yytext[0] == '!' && !yytext[1])
+	    } else if (incond == 1 && yytext[0] == '!' && !yytext[1])
 		tok = BANG;
 	}
 	inalmore = 0;