From bbfc441438df26a83b3e0656195d99b4fab0fb12 Mon Sep 17 00:00:00 2001 From: Terence Parr Date: Sat, 8 Sep 2012 10:21:08 -0700 Subject: [PATCH] put range back in for parsers as error alt. --- tool/src/org/antlr/v4/parse/ANTLRParser.g | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/src/org/antlr/v4/parse/ANTLRParser.g b/tool/src/org/antlr/v4/parse/ANTLRParser.g index 39e429551..faac5a5bf 100644 --- a/tool/src/org/antlr/v4/parse/ANTLRParser.g +++ b/tool/src/org/antlr/v4/parse/ANTLRParser.g @@ -775,7 +775,8 @@ atom | */ - terminal + range // Range x..y - only valid in lexers + | terminal | ruleref | notSet | wildcard