From 87cb2d172843e114a8640de3fde61db3a2bf0a6a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 29 Oct 2009 01:34:28 -0400 Subject: 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. --- tests/dimension/directives.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3