[antlr-interest] How to implement case insensitive keyword in antlr3

Hub Dog hubdog at gmail.com
Fri Aug 17 06:49:16 PDT 2007


Thank all friends very much for your quick answer.

best regards
ma lifang

On 8/17/07, 文少华 <shaohua.wen at gmail.com> wrote:
>
> You can check thread : *ANTLR3 with -Xmultithreaded problem?
> In the attachment of that message, I've implemented a keyword case
> insensitive grammar.
> but for other IDs are case sensitive.
>
> BR.Holy
> *
> On 8/17/07, Hub Dog <hubdog at gmail.com> wrote:
> >
> > Dear Friends,
> >
> >         I am just porting an antlr v2 project to antlr3.The keyword of
> > language is  case insensitive.In the antlr v2, there is a
> > caseSensitiveLiterals option for lexer.
> > But it seems there is not such an option in v3. Does someone know how to
> > implement case insensitive keyword  in antlr3 .
> >
> >
> > best regards
> > ma lifang
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070817/ded740bb/attachment.html 


More information about the antlr-interest mailing list