diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-04-23 05:36:09 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-04-23 05:36:09 +0000 |
commit | e39882bd8a308711135a1ff644293fd9c46e6433 (patch) | |
tree | f94afcbe39f500ffe455c8e41c529753c80cc9ed /test | |
parent | 57b8c4c8581d2d3ffcf3d3a1bb228271cb4d074a (diff) |
fix for parser/tests for ANTLR 3.2 (it was working fine on 3.3)
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/regress0/Makefile.am | 2 | ||||
-rw-r--r-- | test/unit/parser/parser_black.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/regress/regress0/Makefile.am b/test/regress/regress0/Makefile.am index 323e61ca4..b898c4cc2 100644 --- a/test/regress/regress0/Makefile.am +++ b/test/regress/regress0/Makefile.am @@ -38,7 +38,6 @@ SMT2_TESTS = \ # Regression tests for PL inputs CVC_TESTS = \ - subranges.cvc \ boolean-prec.cvc \ hole6.cvc \ ite.cvc \ @@ -103,6 +102,7 @@ endif # and make sure to distribute it EXTRA_DIST += \ + subranges.cvc \ error.cvc # synonyms for "check" in this directory diff --git a/test/unit/parser/parser_black.h b/test/unit/parser/parser_black.h index 53050eece..3a9dd4418 100644 --- a/test/unit/parser/parser_black.h +++ b/test/unit/parser/parser_black.h @@ -227,7 +227,7 @@ public: tryGoodInput("a : INT = 5; a: INT;"); // decl after define, compatible tryGoodInput("a : TYPE; a : INT;"); // ok, sort and variable symbol spaces distinct tryGoodInput("a : TYPE; a : INT; b : a;"); // ok except a is both INT and sort `a' - tryGoodInput("a : [0..0]; b : [-5..5]; c : [-1..1]; d : [ _ .._];"); // subranges + //tryGoodInput("a : [0..0]; b : [-5..5]; c : [-1..1]; d : [ _ .._];"); // subranges tryGoodInput("a : [ _..1]; b : [_.. 0]; c :[_..-1];"); tryGoodInput("DATATYPE list = nil | cons(car:INT,cdr:list) END; DATATYPE cons = null END;"); tryGoodInput("DATATYPE tree = node(data:list), list = cons(car:tree,cdr:list) END;"); |