[antlr-interest] Lexer options in composite grammar

Terence Parr parrt at cs.usfca.edu
Fri Jul 3 11:00:03 PDT 2009


hi. it's a known bug. see bug list.
Ter
On Jul 3, 2009, at 6:59 AM, Sebastian Zarnekow wrote:

> 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
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list