Hi,

2011/3/3 Juan Manuel Cámara <juanm...@gmail.com>

> ...
> The Parser works fine, but its return is a flat tree, all tokens are childs
> of the root.
>
> Is this the normal use?
> Can someone guess what I'm doing wrong, or tell me the way to get the
> complete tree? ...
>

_You_ need to tell how the tree looks like.

See: http://www.antlr.org/wiki/display/ANTLR3/Tree+construction
<http://www.antlr.org/wiki/display/ANTLR3/Tree+construction>And/or:
http://stackoverflow.com/questions/4931346/how-to-output-the-ast-built-using-antlr

<http://stackoverflow.com/questions/4931346/how-to-output-the-ast-built-using-antlr>
Regards,

Bart.

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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to