Hi everyone,

what's the way to define tokens so that they take into account word  
boundaries, i.e. "1then" is not accepted as token INT 1 token THEN,  
but rejected.

I know how to do this with a regular expression (using \b, which  
matches word boundaries), but no clue on how to do it succinctly in  
ANTLR.

Thanks in advance.

List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org:8080/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