> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of Marcin Rzeznicki
> Sent: Wednesday, December 09, 2009 8:57 AM
>
> But can you tell me why my original example is wrong? If I understand ANTLR
> correctly this
> should not pose any problems for LL(*)
We would need to see your complete lexer definition before I can tell you what
is wrong with it. It is standard lexer stuff to do this:
ABSTRACT : 'abstract' ;
ID : ('a'..'z'|'A'..'Z'| '_') ('a'..'z'|'A'..'Z'| '_'| '0'..'9')* ;
If your lexer rules were exactly as you show, then it would work fine without
warnings as v3 knows how to deal with such things.
Jim
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.