Skip to content

Commit

Permalink
antlr4: Parser rules must not contain character ranges.
Browse files Browse the repository at this point in the history
From antlr v3.3 character ranges are not allowed in parser rules,
however the official grammar still enables them. The patch fixes
this.
  • Loading branch information
renatahodovan committed Jun 7, 2017
1 parent 1555831 commit 765e193
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions antlr4/ANTLRv4Parser.g4
Expand Up @@ -314,8 +314,7 @@ lexerAtom
;

atom
: characterRange
| terminal
: terminal
| ruleref
| notSet
| DOT elementOptions?
Expand Down

0 comments on commit 765e193

Please sign in to comment.