From 97c74dcb0e5a22d57759c15d64eaeab87ba410f1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 12 Dec 2017 09:13:41 +0000 Subject: 42110: Fix redirections between variable assignments at start of line --- Src/parse.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Src') diff --git a/Src/parse.c b/Src/parse.c index 5fe3ebd2c..6af2550df 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -1848,6 +1848,10 @@ par_simple(int *cmplx, int nr) incmdpos = oldcmdpos; isnull = 0; assignments = 1; + } else if (IS_REDIROP(tok)) { + *cmplx = c = 1; + nr += par_redir(&r, NULL); + continue; } else break; zshlex(); -- cgit 1.4.1