[antlr-interest] problem with class CommonTree
ankit.mehrotra at tcs.com
ankit.mehrotra at tcs.com
Mon Dec 3 01:12:54 PST 2007
Hi all,
I have started antlr a couple of hours back. I was working through the
example of AST walk through, where on compiling the files I am getting an
error,
ASTExprParser.java:82: cannot find symbol
symbol : method toStringtree()
location: class org.antlr.runtime.tree.CommonTree
System.out.println(((CommonTree)stat1.tree).toStringtree());
^
1 error
All I have are the jar files for the
libraries(antlr-3.0.1,antlr-2.7.7,antlr-runtime-3.0.1 and
stringTemplate-3.0b1).
How should I go about removing this error.
Thanks
Ankit
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071203/8382f617/attachment.html
More information about the antlr-interest
mailing list