about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-12-05 10:34:23 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-12-05 10:34:23 +0000
commit0c96a1b9637487a49bcbdf8dbd8577a71a69203c (patch)
treee082c3425c0c9b50e2fee1e9a4146fa61f875cc9 /Src/lex.c
parentc1a4af81c6d00bdb1ef8342388e760ccd0aa1dd8 (diff)
downloadzsh-0c96a1b9637487a49bcbdf8dbd8577a71a69203c.tar.gz
zsh-0c96a1b9637487a49bcbdf8dbd8577a71a69203c.tar.xz
zsh-0c96a1b9637487a49bcbdf8dbd8577a71a69203c.zip
Joel Smith: 13230: avoid name clashes with Linux kernel
Diffstat (limited to 'Src/lex.c')
-rw-r--r--Src/lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/lex.c b/Src/lex.c
index 747dc32fb..9a066b915 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -349,13 +349,13 @@ yylex(void)
 	    char *name;
 
 	    hwbegin(0);
-	    cmdpush(hdocs->type == HEREDOC ? CS_HEREDOC : CS_HEREDOCD);
+	    cmdpush(hdocs->type == REDIR_HEREDOC ? CS_HEREDOC : CS_HEREDOCD);
 	    STOPHIST
 	    name = gethere(hdocs->str, hdocs->type);
 	    ALLOWHIST
 	    cmdpop();
 	    hwend();
-	    setheredoc(hdocs->pc, HERESTR, name);
+	    setheredoc(hdocs->pc, REDIR_HERESTR, name);
 	    zfree(hdocs, sizeof(struct heredocs));
 	    hdocs = next;
 	}