summaryrefslogtreecommitdiffstats
path: root/tests/dimension/directives.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-06-19 10:32:41 -0400
committerTavian Barnes <tavianator@gmail.com>2010-06-19 10:36:02 -0400
commitdb09a6bc5bb5da674abf7b5f8874a57ef2cf4dfb (patch)
tree3ab3c42bbc872f701708cb855a9b9d954b54f9c5 /tests/dimension/directives.sh
parentc8667ce6ae94929e9bc06c9af51b6589bc528946 (diff)
downloaddimension-db09a6bc5bb5da674abf7b5f8874a57ef2cf4dfb.tar.xz
Abstract syntax tree improvements.
Keep objects in a single DMNSN_AST_OBJECT node type.
Diffstat (limited to 'tests/dimension/directives.sh')
-rwxr-xr-xtests/dimension/directives.sh23
1 files changed, 13 insertions, 10 deletions
diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh
index 9bd4c24..3e0233c 100755
--- a/tests/dimension/directives.sh
+++ b/tests/dimension/directives.sh
@@ -73,23 +73,26 @@ directives_exp="$(echo -n \
})' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')
$(echo -n \
-'((sphere
- (vector (integer 0) (integer 0) (integer 0) (integer 0) (integer 0))
- (integer 1)
+'((object
+ (sphere
+ (vector (integer 0) (integer 0) (integer 0) (integer 0) (integer 0))
+ (integer 1))
(object-modifiers
(pigment
(vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))
pigment-modifiers)))
- (sphere
- (vector (integer 0) (integer 1) (integer 0) (integer 0) (integer 0))
- (integer 1)
+ (object
+ (sphere
+ (vector (integer 0) (integer 1) (integer 0) (integer 0) (integer 0))
+ (integer 1))
(object-modifiers
(pigment
(vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))
- pigment-modifiers)))
- (box
- (vector (integer -1) (integer -1) (integer -1) (integer 0) (integer 0))
- (vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))
+ pigment-modifiers)))
+ (object
+ (box
+ (vector (integer -1) (integer -1) (integer -1) (integer 0) (integer 0))
+ (vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0)))
(object-modifiers
(pigment
(vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))