> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of Christian Nentwich
> Sent: Wednesday, February 10, 2010 11:17 AM
> To: [email protected]
> >
> > I am not sure what you mean by scale to be honest. Performing an
> upcase in
> > LA isn't much of an overhead compared to everything else. I use this
> on my
> > SQL grammars with no problems and there are hundreds of keywords to
> > recognize. But if you prefer JFlex, then so be it :-)
> >
> > Jim
> >
> 
> You saying that made me somewhat suspicious that I might have
> overlooked
> something, and indeed it seems so; I made an assumption that the
> character
> data of tokens was being converted to upper case by that solution, but
> on
> second reading it seems that this is only done for matching purposes. I
> have
> lots of stuff (quoted strings, etc) that must not be touched. Hm. I may
> rethink :)

Yes - the common case is that you don't want to change the input code, just 
test it in a case insensitive way. That's why the solution just matches and 
leaves the input alone.

Jim





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