[antlr-interest] ANTLR3 C# InvariantCultureIgnoreCase

Fabio Maulo fabiomaulo at gmail.com
Thu May 10 05:30:12 PDT 2007


Dr. Kocher, Hartmut escribió:
> yes, you could still use this solution. Parsing is done in all lowercase (i.e. in your grammar you specify your keywords in all lowercase ("order"). Your identifiers will be matched as lower case. However, the original case is preserved in the token. Therefore, $Ident.text is still mixed case!
>
> Hope this helps
Thanks a lot, Doc!
Fabio.



More information about the antlr-interest mailing list