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

文少华 shaohua.wen at gmail.com
Thu Aug 16 18:26:20 PDT 2007


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/9de5ba19/attachment.html 


More information about the antlr-interest mailing list