Hitesh;

Check the ANTLR FAQ "How do I get case insensitivity?"

http://www.antlr.org/wiki/pages/viewpage.action?pageId=1782

> Date: Tue, 14 Sep 2010 16:04:45 +0530
> From: Hitesh Shetty <[email protected]>
> 
> Hello,
> Im trying to convert an existing grammar written for C target into one for 
> Java.
> In the C grammar there exists an init section which I figured
> converted the input stream into lowercase, as:
> @init {
>  ANTLR_UINT32 (*oldLA) ( struct ANTLR3_INT_STREAM_struct *, ANTLR_INT32 );
> oldLA = INPUT-> istream->_LA;
> INPUT->setUcaseLA(INPUT, ANTLR3_FALSE);
> }
> Is there any equivalent way of doing this for the Java target?
> Any help would be appreciated.

-- 
David J. Biesack, SAS
SAS Campus Dr. Cary, NC 27513
www.sas.com    (919) 531-7771

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to