[antlr-interest] [Help] Question about CTarget of ANTLR
Jim Idle
jimi at temporal-wave.com
Mon Oct 20 07:44:28 PDT 2008
On Mon, 2008-10-20 at 15:49 +0200, Yang, Y. wrote:
> Dear All
>
> When I try to compiler the tree parser example in example-V3 c
> directory, I encountered the following problem in Visual Stuido.
>
> It seems the tree missing the type, however it is generated by ANTLR. Is
> it a bug or I missing sth,
Please see numerous past posts and the examples, you need to have:
options
{
ASTLabelType = pANTLR3_BASE_TREE;
}
in the options section of your grammar.
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081020/e34227ac/attachment.html
More information about the antlr-interest
mailing list