about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/parse.c3
1 files changed, 3 insertions, 0 deletions
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();