From c07038c627a5601bf331b5c755b9fcce02249fe3 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 2 Feb 2010 21:53:23 -0500 Subject: Skip over invalid tokens in non-taken conditionals. --- tests/dimension/directives.pov | 2 +- tests/dimension/directives.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/dimension') diff --git a/tests/dimension/directives.pov b/tests/dimension/directives.pov index 1bb712d..187189f 100644 --- a/tests/dimension/directives.pov +++ b/tests/dimension/directives.pov @@ -27,7 +27,7 @@ #undef Unused #if (#if (1 = 1) 0 #end = 0 & 0) - Illegal + `Illegal #else sphere { Center, R diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh index 955ea15..e24a62a 100755 --- a/tests/dimension/directives.sh +++ b/tests/dimension/directives.sh @@ -27,7 +27,7 @@ directives_exp="$(echo -n \ #declare (identifier "Unused") = - (integer "1") ; #undef (identifier "Unused") #if \( #if \( (integer "1") = (integer "1") \) (integer "0") #end = (integer "0") & (integer "0") \) - (identifier "Illegal") + error (identifier "Illegal") #else sphere { (identifier "Center") , (identifier "R") -- cgit v1.2.3