[antlr-interest] Antlr 3 generates very big java classes which do not compile

Kay Roepke kroepke at classdump.org
Sun Dec 24 15:27:39 PST 2006


On 24. Dec 2006, at 19:16 , Terence Parr wrote:

> Ok, I just have to ask: why do you do
>
> COLLECT : C O L L E C T;
>
> when you can do
>
> COLLECT : 'COLLECT';

Seems the OP wanted to emulate case insensitivity by using
fragment C : 'c'|'C';
rules....

cheers,
-k
-- 
Kay Röpke
http://classdump.org/






More information about the antlr-interest mailing list