[antlr-interest] gUnit test cases and Windows paths

David Peckham dave.peckham at me.com
Sun Jan 18 00:29:10 PST 2009


Okay, now I understand. Thanks Gavin.

On Jan 18, 2009, at 12:24 AM, Gavin Lambert wrote:

> When you use ~ in a parser rule, it means "any token but these" --  
> so the lexer must still produce valid tokens for whatever it is you  
> want to match.
>
> If you want to match any character at all (not caring about tokens),  
> then you have to do it in the lexer.



More information about the antlr-interest mailing list