[antlr-interest] distinction between newline and ws

Clifford Heath clifford.heath at gmail.com
Sat Oct 20 18:30:19 PDT 2007


Clifford Heath wrote:
> If I redefine NEWLINE as (' '|'\t')* '\r'? '\n'
> it doesn't parse either form... why?

It seems this is incorrect, and AntlrWorks hadn't regenerated
correctly. I'm using the "Interpreter", and it seems I need to
press the "Guess" button more often.

Clifford Heath.



More information about the antlr-interest mailing list