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.


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to