[antlr-interest] Why won't this match...
Olivier Lefevre
lefevrol at yahoo.com
Sun Feb 24 17:11:17 PST 2008
Terence Parr wrote:
> This is because of:
> http://www.antlr.org:8888/browse/ANTLR-189
I don't quite follow. From looking at the generated code it is clear that
once it sees 'wib' it goes straight for BIG_TOKEN (because it is the
longest match?) and does not consider the alternative when that fails. How
does that relate to "[the problem is] that any char can follow a token"?
Thanks,
-- O.L.
More information about the antlr-interest
mailing list