about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-07-24 14:17:31 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-07-24 14:17:31 +0000
commit6d81779954a9a5ef64c87a21ce131190a1214d7c (patch)
treea623aaf50ba606c83b57d82d1a17b09b11784fd5
parentc17b40b6a0ac9d8168c52fe7e1ac47a6cd29894d (diff)
downloadzsh-6d81779954a9a5ef64c87a21ce131190a1214d7c.tar.gz
zsh-6d81779954a9a5ef64c87a21ce131190a1214d7c.tar.xz
zsh-6d81779954a9a5ef64c87a21ce131190a1214d7c.zip
remove nulargs in here strings (15470)
-rw-r--r--ChangeLog4
-rw-r--r--Src/parse.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ed98d61a7..b3c2e034c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-07-24  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* 15470: Src/parse.c: remove nulargs in here strings
+
 2001-07-24  Bart Schaefer  <schaefer@zsh.org>
 
 	* 15472: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: Fix errors
diff --git a/Src/parse.c b/Src/parse.c
index 70a00031c..e5373cfc9 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1685,6 +1685,9 @@ par_redir(int *rp)
 	if ((tokstr[0] == Inang || tokstr[0] == Outang) && tokstr[1] == Inpar)
 	    type = tokstr[0] == Inang ? REDIR_INPIPE : REDIR_OUTPIPE;
 	break;
+    case REDIR_HERESTR:
+        remnulargs(name = dupstring(name));
+        break;
     }
     yylex();