diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-07-12 10:31:29 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-07-12 10:31:29 +0000 |
commit | d861bb98059da21d90b966c6bd24bf60a91fdec8 (patch) | |
tree | 416009865da5fa27077c83dba60c8e0b7bfe0c3c /Src/lex.c | |
parent | cc2213b340690590cdd1f7094cfaaf83a90a7cda (diff) | |
download | zsh-d861bb98059da21d90b966c6bd24bf60a91fdec8.tar.gz zsh-d861bb98059da21d90b966c6bd24bf60a91fdec8.tar.xz zsh-d861bb98059da21d90b966c6bd24bf60a91fdec8.zip |
fix for (z) flag, don't take # as comment (12228)
Diffstat (limited to 'Src/lex.c')
-rw-r--r-- | Src/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |