1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-24 04:50:27 +02:00

fix for (z) flag, don't take # as comment (12228)

This commit is contained in:
Sven Wischnowsky 2000-07-12 10:31:29 +00:00
parent cc2213b340
commit d861bb9805
3 changed files with 10 additions and 4 deletions

View file

@ -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 *