[antlr-interest] case-insensitivity in ANTLR (Java)

Bruce Bauman bruce.bauman at andesaservices.com
Thu Aug 13 13:28:06 PDT 2009


I'm using Jim Idle's snippet of code from the wiki
(ANTLRNoCaseFileStream.java), but I'm not sure how to hook this into the
ANTLR generated Lexer.

Do I put ANTLRNoCaseFileStream.java in the same directory with my
"Main.java"?

How do I use the new  stream instead of the normal ANTLRFileStream?

Thanks for any guidance you could provide.

-- Bruce

 

CONFIDENTIALITY NOTICE: This e-mail is confidential and intended
solely for the use of the individual or entity to which it is addressed.  If
you are not the intended recipient, be advised that you have received 
this email in error and that any use, dissemination, forwarding, printing 
or copying of this e-mail is strictly prohibited. If you received this e-mail
in error, please delete it from your computer and contact the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090813/7534864f/attachment.html 


More information about the antlr-interest mailing list