summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-12-21 17:21:00 -0500
committerTavian Barnes <tavianator@gmail.com>2009-12-21 17:21:00 -0500
commitff44d1b89812c1c7ef86c848937f17a59c64a66e (patch)
tree4c3c1ee113430ed1a3d1b4ec9acd186859ef0a40 /tests
parent8424804b1feaff5121060ed5ae4a321c47a76c34 (diff)
downloaddimension-ff44d1b89812c1c7ef86c848937f17a59c64a66e.tar.xz
Clean up parser, and make it GLR.
Diffstat (limited to 'tests')
-rw-r--r--tests/dimension/directives.pov2
-rwxr-xr-xtests/dimension/directives.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/dimension/directives.pov b/tests/dimension/directives.pov
index 6b0e72c..0b2b2b3 100644
--- a/tests/dimension/directives.pov
+++ b/tests/dimension/directives.pov
@@ -29,6 +29,6 @@
sphere {
Center, R
pigment {
- color Color
+ color Color green 1
}
}
diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh
index 49095a9..c953cd6 100755
--- a/tests/dimension/directives.sh
+++ b/tests/dimension/directives.sh
@@ -29,7 +29,7 @@ directives_exp="$(echo -n \
sphere {
(identifier "Center") , (identifier "R")
pigment {
- color (identifier "Color")
+ color (identifier "Color") green (integer "1")
}
})' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')
@@ -39,7 +39,7 @@ $(echo -n \
(integer 1)
(object-modifiers
(texture
- (pigment (color (integer 1) (integer 0) (integer 1)
+ (pigment (color (integer 1) (integer 1) (integer 1)
(integer 0) (integer 0)))))))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')"