[antlr-interest] Lexer options in composite grammar
Sebastian Zarnekow
Sebastian.Zarnekow at itemis.de
Fri Jul 3 06:59:25 PDT 2009
Hi,
is it possible to define lexer options in a composite grammar? I tried
to find something about this in The Definite ANTLR Reference, but
didn't succeed.
I'ld like to enable backtracking for the lexer, because currently the
parser fails to distinguish between three keywords when two of them
are together a prefix of the third one. I can imagine, that a lexer
that does backtracking will solve this issue.
Regards,
Sebastian
More information about the antlr-interest
mailing list