From db09a6bc5bb5da674abf7b5f8874a57ef2cf4dfb Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 19 Jun 2010 10:32:41 -0400 Subject: Abstract syntax tree improvements. Keep objects in a single DMNSN_AST_OBJECT node type. --- tests/dimension/arithexp.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/dimension/arithexp.sh') diff --git a/tests/dimension/arithexp.sh b/tests/dimension/arithexp.sh index 014da06..917f6bc 100755 --- a/tests/dimension/arithexp.sh +++ b/tests/dimension/arithexp.sh @@ -21,10 +21,11 @@ arithexp=$(${top_builddir}/dimension/dimension --parse ${srcdir}/arithexp.pov) arithexp_exp="$(echo -n \ -'((sphere - (vector (float 2) (float 2) (float 3) (integer 0) (integer 0)) - (float 0.718282) - object-modifiers))' \ +'((object + (sphere + (vector (float 2) (float 2) (float 3) (integer 0) (integer 0)) + (float 0.718282)) + object-modifiers))' \ | tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')" if [ "$arithexp" != "$arithexp_exp" ]; then -- cgit v1.2.3