From 7eef42c72cc172a1ed8087e842905f42e737131d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 5 Feb 2010 11:58:41 -0500 Subject: "Support" the #version directive. --- tests/dimension/directives.pov | 2 ++ tests/dimension/directives.sh | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/dimension') 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") ; -- cgit v1.2.3