Thanks Jim. What I am doing in the mean time is just replicating my entire tree 
grammar for each of the two passes. I suspect given my file sizes are not large 
this should not be a problem.


--- On Sun, 2/15/09, Jim Idle <[email protected]> wrote:

> From: Jim Idle <[email protected]>
> Subject: Re: [antlr-interest] subtrees which I don't care about and .*
> To: 
> Cc: [email protected]
> Date: Sunday, February 15, 2009, 7:30 PM
> Carter Cheng wrote:
> > Hi,
> >
> > I was spending sometime with my tree grammar today and
> noticed that the .* rules dont seem to properly match/ignore
> subtrees and instead generate an error upon encountering
> DOWN. 
> >
> > If I am correct about this, what is the proper way of
> creating tree grammars where I am only interested in a
> subset of the rules in the generated tree? Is there some
> method for doing this using grammar inheritance?
> >   
> There are changes for this in the latest Java source that
> have yet to 
> come in to the latest C source,so I suspect that you are
> running in to 
> the need for those changes.
> 
> Jim
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address


      

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to