[antlr-interest] Help with tree walker in antlr 3
Jose Ventura
jose.ventura.roda at gmail.com
Wed Jul 5 04:53:54 PDT 2006
Hi all,
with a tree like this:
PROGRAMA (SET (...) EXECUTE (...))
I'm need to walk trought se subnodes o SET node, but not
trought the EXECUTE subnodes.
For this, i put this rule:
> programa: ^(PROGRAMA set EXECUTE);
> set: ^(SET ...);
>
the result is : [programa]: line 0:0 mismatched tree node: DOWN; expecting
type <UP>
In antlr 2 I could do #(PROGRAMA set EXECUTE), Can i do it in antlr 3?
thank's
José Ventura
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060705/ba5f407f/attachment.html
More information about the antlr-interest
mailing list