[antlr-interest] Clarification on Attribute Reference in Actions

Kay Roepke kroepke at classdump.org
Wed Jul 4 15:44:32 PDT 2007


On Jul 4, 2007, at 11:21 PM, Randall R Schulz wrote:

> So was ANTLR mistaken by the recursive use of the "term" rule, or  
> was I
> mistaken in expecting the reference to $term.t to refer to the most
> closely enclosing (recursive) right-hand-side use of the "term" rule?

mmmh. For a parser (not tree parser) I can explain the situation,  
sort of, I think...
Could you post (or send privately) your grammar?

It's too late for me to come up with a test case ;)

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






More information about the antlr-interest mailing list