[antlr-interest] Tree structure
ManimuthuLakshmi Pitchaikani
antlr_lakshmi at yahoo.com
Thu Sep 30 11:29:13 PDT 2004
Hi,
I tried in the same way as Bryan suggested.
Now am getting two errors:
1. priVal cannot be resolved
2. The method create() in the Type ASTFactory is not applicable for the arguments(AST,String)
Is the priVal rule needs the change?
Thanks.
Best Regards,
Lakshmi
Bryan Ewbank <ewbank at synopsys.com> wrote:
> What's wrong with this:
>
> opt_pri! :#(PRI priVal)
> { #opt_pri = #([NICE, "nice"], #priVal);
I have problems sometimes when I don't use "#" everywhere, so
you might try changing from this
#( [NICE, "nice"], #priVal)
to this
#( #[NICE, "nice"], #priVal)
Yahoo! Groups Links
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20040930/30c9f568/attachment.html
More information about the antlr-interest
mailing list