From 30e356eb1a599dc634e2b46da272afacd46553de Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 14 May 2019 12:10:10 +0100 Subject: 44296: "typeset Q= {X}" crashed the shell. --- Src/parse.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Src') diff --git a/Src/parse.c b/Src/parse.c index 22e553a16..27234497b 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -1899,6 +1899,14 @@ par_simple(int *cmplx, int nr) p += nrediradd; sr += nrediradd; } + else if (postassigns) + { + /* C.f. normal case below */ + postassigns++; + ecadd(WCB_ASSIGN(WC_ASSIGN_SCALAR, WC_ASSIGN_INC, 0)); + ecstr(toksave); + ecstr(""); /* TBD can possibly optimise out */ + } else { ecstr(toksave); -- cgit 1.4.1