[antlr-interest] Mismatched Token with String and Newline

Terence Parr parrt at cs.usfca.edu
Fri Oct 26 02:51:02 PDT 2007


On Oct 26, 2007, at 5:25 PM, <Robert.Klaus at innovations.de> wrote:
> In a unit test, I parsed this input:
> String input = "\"\\n\"\r\n";

hi. I don't think you have anything to match WS after the STRING.   
Add {skip();} for example to WS rule.
Ter



More information about the antlr-interest mailing list