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.
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.