From e39882bd8a308711135a1ff644293fd9c46e6433 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Sat, 23 Apr 2011 05:36:09 +0000 Subject: fix for parser/tests for ANTLR 3.2 (it was working fine on 3.3) --- test/unit/parser/parser_black.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/parser') 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;"); -- cgit v1.2.3