[antlr-interest] ANTLR 3.0b4 DIGIT-INTEGER grammar question

Kay Roepke kroepke at classdump.org
Sun Oct 22 08:28:16 PDT 2006


Hi Ron!

On 22. Oct 2006, at 17:08 , Ron Blaschke wrote:

> protected
> DIGIT
>     :   '0'..'9'
>     ;

the protected keyword is for v2. In version 3 that must be fragment.  
Then it works as expected :)

HTH,

-k
-- 
Kay Röpke <kroepke at classdump.org>
classdump Software
Key fingerprint = A849 0F2C C322 4022 379E  8661 7E1B FE0D 4CD2 A6D0





More information about the antlr-interest mailing list