[antlr-interest] False error 208?
Bart Kiers
bkiers at gmail.com
Mon Oct 24 08:33:11 PDT 2011
On Mon, Oct 24, 2011 at 5:26 PM, Jim Idle <jimi at 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.
More information about the antlr-interest
mailing list