summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-10-29 01:34:28 -0400
committerTavian Barnes <tavianator@gmail.com>2009-10-29 01:34:28 -0400
commit87cb2d172843e114a8640de3fde61db3a2bf0a6a (patch)
tree759747df1cde1f8647ea34e7738b3d013197128b /tests
parent7e77347d6135a9cffe82f5b1384a34fe3cd4c5cc (diff)
downloaddimension-87cb2d172843e114a8640de3fde61db3a2bf0a6a.tar.xz
Even more tokenizer work.
The tokenizer is now able to tokenize all of POV-Ray 3.6's include files. It turns out that some #includes may be dynamic (ex. with #writes beforehand), so the tokenizer can't directly perform includes - the executor must do this.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/dimension/directives.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh
index a4114a8..68c01e3 100755
--- a/tests/dimension/directives.sh
+++ b/tests/dimension/directives.sh
@@ -20,7 +20,7 @@
#########################################################################
directives=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/directives.pov)
-directives_exp='({ \( [ < + - * / , > ] \) } #declare (identifier "x"))';
+directives_exp='(#include (string "punctuation.pov") #declare (identifier "x"))';
if [ "$directives" != "$directives_exp" ]; then
echo "directives.pov tokenized as \"$directives\"" >&2