From bb777a690c2f800f75b18bd56445c528348755f5 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 24 Sep 2007 22:28:49 +0800 Subject: [PARSER] Remove arithmetic expansion collapsing at parse time Collapsing arithmethc expansion is incorrect when the inner arithmetic expansion is a part of a parameter expansion. Test case: unset a echo $((3 + ${a:=$((4 + 5))})) echo $a Old result: (4 + 5) New result: 9 --- ChangeLog | 1 + 1 file changed, 1 insertion(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e5987f9..7992485 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ * Remove superfluous arinest test in CENDQUOTE. * Remove superfluous arinest test for dqvarnest. * Remove superfluous dblquote settings when ending arith. + * Remove arithmetic expansion collapsing at parse time. 2007-09-22 Oleg Verych -- cgit 1.4.1