[antlr-interest] is there anyway turn on or off (ignore case|case insensitive) ?
Kevin Chen
bestgembler at hotmail.com
Tue May 19 20:02:48 PDT 2009
>>Kevin Chen wrote:
>>is there anyway turn on or off (ignore case|case insensitive)
in whole grammar?
>>or just in tokens { ... }?
>>or just in rules ?
>
See:
>
>
http://www.antlr.org/wiki/pages/viewpage.action?pageId=1782
>
>You specify your keywords in UPPER case only, then they will match case
insensitively with the enhanced file stream >listed at that page. The
case of the tokens is preserved in the input.
>
>Jim
that's fine!!!!
thanks!!!!!!!!!!! :-)
_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090520/e0778387/attachment.html
More information about the antlr-interest
mailing list