From d1688ca54177882828624cb5abcb3e2d727ad39f Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sat, 11 Mar 2000 00:11:02 +0000 Subject: zsh-workers/10059 --- Src/lex.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Src/lex.c') 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(); -- cgit 1.4.1