[antlr-interest] New Guy Question...

Marco Hunsicker devel at hunsicker.de
Sun Jun 5 14:58:49 PDT 2011


> You have to handle case insensitivity the hard way:
>
> fragment A
>      :    'A' | 'a';
>
>[...]

I don't think it's a necessity to do it this way. Actually, I think it 
would be better using a specialized input stream that does any necessary 
transformation. Your mileage may vary ;)

Cheers,

Marco


More information about the antlr-interest mailing list