From 9fbaf333e6b4a0d1ffdf588319ecf1b5ae0ac4d8 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 28 Oct 2009 19:10:53 -0400 Subject: Make '#include' work. --- tests/dimension/tokenizer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/dimension/tokenizer.sh b/tests/dimension/tokenizer.sh index f1f2b6b..762cced 100755 --- a/tests/dimension/tokenizer.sh +++ b/tests/dimension/tokenizer.sh @@ -59,7 +59,7 @@ if [ "$labels" != "$labels_exp" ]; then fi directives=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/directives.pov) -directives_exp='(#include (string "punctuation.pov") #declare (identifier "x"))'; +directives_exp='({ \( [ < + - * / , > ] \) } #declare (identifier "x"))'; if [ "$directives" != "$directives_exp" ]; then echo "directives.pov tokenized as \"$directives\"" >&2 -- cgit v1.2.3