[antlr-interest] Curious ANTLR 3.0b6 Failure Mode

Terence Parr parrt at cs.usfca.edu
Wed Mar 14 08:18:53 PDT 2007


On Mar 14, 2007, at 6:38 AM, Bert Williams wrote:

> CHAR        : LOWCHAR | UPPER
>
>             | '\' ( [^\n] | HEXESC | OCTESC  )
>
>             ;

Hi. ANTLR doesn't do [^\n]. ;)  Use ~'\n' :)

Ter



More information about the antlr-interest mailing list