[antlr-interest] retrieving the length of a production match

Kay Roepke kroepke at classdump.org
Tue Aug 21 14:12:06 PDT 2007


On Aug 21, 2007, at 11:06 PM, Jim Idle wrote:

> Just refer to $start and $stop in a rule or more likely for you
> $rulelabel.start and $rulelabel.stop.

ah, I though this was supposed to be outside the actual grammar, but  
I might have misunderstood the OP.

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






More information about the antlr-interest mailing list