From 31750795fe13fc0343ade4f2aadb55f20548f628 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 3 Oct 2014 16:29:56 +0100 Subject: 33345: fix anonymous function complex command handling. Longstanding problem caused simple anonymous function incorrectly to reset the overall "complext" state, causing wordcode to be diverted into execsimple(), which caused a crash 'cos ist wasn't simple. --- Test/C04funcdef.ztst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Test') diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst index 193757090..10491a229 100644 --- a/Test/C04funcdef.ztst +++ b/Test/C04funcdef.ztst @@ -279,6 +279,10 @@ >anon func >lsfoo + print foo | () cat +0:Simple anonymous function should not simplify enclosing pipeline +>foo + %clean rm -f file.in file.out -- cgit 1.4.1