[antlr-interest] Re: Tree parser question

edcjones edcjones at yahoo.com
Sat May 15 09:01:16 PDT 2004


--- In antlr-interest at yahoogroups.com, Monty Zukowski <monty at c...> wrote:
> The first one matches a "struct" node with a child tree which will 
> match structOrUnionBody.  The second has structOrUnionBody as a 
> sibling, not a child.
> > structSpecifier
> >         :   #( a:"struct" structOrUnionBody )
> >         ;
> 
> >
> > structSpecifier
> >         :   "struct" structOrUnionBody
> >         ;

Thanks. I think the "Tree parser" docs should say this.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list