From b1fcad6a63555840fd50a1678a7755443f892665 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 13 Mar 2000 09:44:19 +0000 Subject: zsh-workers/10105 --- Src/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/lex.c') 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; -- cgit 1.4.1