From d861bb98059da21d90b966c6bd24bf60a91fdec8 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 12 Jul 2000 10:31:29 +0000 Subject: fix for (z) flag, don't take # as comment (12228) --- 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 644f8cf2b..5aa63ece5 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -673,7 +673,7 @@ gettok(void) /* chars in initial position in word */ if (c == hashchar && - (isset(INTERACTIVECOMMENTS) || + ((zleparse != 3 && isset(INTERACTIVECOMMENTS)) || (!zleparse && !expanding && (!interact || unset(SHINSTDIN) || strin)))) { /* History is handled here to prevent extra * -- cgit v1.2.3