diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-10-29 01:34:28 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-10-29 01:34:28 -0400 |
commit | 87cb2d172843e114a8640de3fde61db3a2bf0a6a (patch) | |
tree | 759747df1cde1f8647ea34e7738b3d013197128b /tests/dimension | |
parent | 7e77347d6135a9cffe82f5b1384a34fe3cd4c5cc (diff) | |
download | dimension-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/dimension')
-rwxr-xr-x | tests/dimension/directives.sh | 2 |
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 |