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/unit | |
parent | 57b8c4c8581d2d3ffcf3d3a1bb228271cb4d074a (diff) |
fix for parser/tests for ANTLR 3.2 (it was working fine on 3.3)
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/parser/parser_black.h | 2 |
1 files changed, 1 insertions, 1 deletions
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;"); |