On Mon, Oct 24, 2011 at 5:26 PM, Jim Idle <j...@temporal-wave.com> wrote:

> Oh – I did not see it was a lexer error.
>
>
>
> Reorder the rules:
>
> IF     :    'if';
>
> ID     :    ('A'..'Z'|'a'..'z')+;
>
> RAW    :    ({rawAhead()}?=> . )+;
>


Yeah, that is what I thought as well, but the above will cause the input
"if" to be matched as a RAW-token, where I (and Boon) expected an
IF-token...
See my post: http://antlr.markmail.org/message/mkrpypwuccs25bgd

Regards,

Bart.

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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to