[antlr-interest] Tree structure
ManimuthuLakshmi Pitchaikani
antlr_lakshmi at yahoo.com
Thu Sep 30 09:52:44 PDT 2004
Hi,
I want the tree structure as follows:
Nice
|
|--15
My code is as follows:
opt_pri! :#(PRI priVal)
{
#opt_pri = #([NICE, "nice"], #priVal);
}
;
priVal! : INT
{
#priVal = #[INT,"-15"];
}
;
Am getting the following error:
java.lang.Error: Unresolved compilation problem:
priVal cannot be resolved
How i can resolve this error? Is there is any other way?
Thanks.
Best regards,
Lakshmi
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20040930/14f8b815/attachment.html
More information about the antlr-interest
mailing list