[antlr-interest] Re: Tree Parser and removing nodes.
Monty Zukowski
monty at codetransform.com
Fri Aug 13 09:25:35 PDT 2004
On Aug 13, 2004, at 2:10 AM, lgcraymer wrote:
> --- In antlr-interest at yahoogroups.com, Monty Zukowski <monty at c...>
> wrote:
>> a: #(A (B | c));
>> c: #(C! (B)*);
>
> Believe it or not, 2.7.1 would convert c to
> ( #( B (B)* ) )?
>
> 2.7.2 will throw an exception.
>
Will 2.7.4 also, I assume?
Maybe this:
a: #(A (B | c));
c!: #(C (b:B {##=##(null, ##, b);})*
Monty
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