diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-11 00:11:02 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-11 00:11:02 +0000 |
commit | d1688ca54177882828624cb5abcb3e2d727ad39f (patch) | |
tree | 487a19f44b44b278bbea83c7e62aabc15d80924d /Src/lex.c | |
parent | c2943574773ad1584f1d868a1a2d38266af7dde4 (diff) | |
download | zsh-d1688ca54177882828624cb5abcb3e2d727ad39f.tar.gz zsh-d1688ca54177882828624cb5abcb3e2d727ad39f.tar.xz zsh-d1688ca54177882828624cb5abcb3e2d727ad39f.zip |
zsh-workers/10059
Diffstat (limited to 'Src/lex.c')
-rw-r--r-- | Src/lex.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Src/lex.c b/Src/lex.c index ce245429d..3f3c0f9d2 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -339,10 +339,9 @@ yylex(void) char *name; hwbegin(0); - cmdpush(WC_REDIR_TYPE(*(hdocs->pc)) == HEREDOC ? - CS_HEREDOC : CS_HEREDOCD); + cmdpush(hdocs->type == HEREDOC ? CS_HEREDOC : CS_HEREDOCD); STOPHIST - name = gethere(hdocs->str, WC_REDIR_TYPE(*hdocs->pc)); + name = gethere(hdocs->str, hdocs->type); ALLOWHIST cmdpop(); hwend(); |