diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-02-05 11:58:41 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-02-05 11:58:41 -0500 |
commit | 7eef42c72cc172a1ed8087e842905f42e737131d (patch) | |
tree | f48e27bbb5cc74cc23b1f3fc5f87bf90256d4072 /tests | |
parent | 6db4b9c77718c0d5346301815283a6dcbe28689d (diff) | |
download | dimension-7eef42c72cc172a1ed8087e842905f42e737131d.tar.xz |
"Support" the #version directive.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dimension/directives.pov | 2 | ||||
-rwxr-xr-x | tests/dimension/directives.sh | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/dimension/directives.pov b/tests/dimension/directives.pov index c6ac07b..b621709 100644 --- a/tests/dimension/directives.pov +++ b/tests/dimension/directives.pov @@ -19,6 +19,8 @@ // Test the language directives +#version 3.6; + #declare Center = 0; #declare R = 1; #local Color = rgb <1, 0, 1>; diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh index 9152d2f..8d0bbb9 100755 --- a/tests/dimension/directives.sh +++ b/tests/dimension/directives.sh @@ -21,7 +21,8 @@ directives=$(${top_builddir}/dimension/dimension --tokenize --parse ${srcdir}/directives.pov) directives_exp="$(echo -n \ -'(#declare (identifier "Center") = (integer "0") ; +'(#version (float "3.6") ; + #declare (identifier "Center") = (integer "0") ; #declare (identifier "R") = (integer "1") ; #local (identifier "Color") = rgb < (integer "1") , (integer "0") , (integer "1") > ; #declare (identifier "Unused") = - (integer "1") ; |