[antlr-interest] antlr deprecated errors
Terence Parr
parrt at cs.usfca.edu
Wed Apr 7 11:05:03 PDT 2004
On Apr 6, 2004, at 2:23 PM, ronald.petty at milliman.com wrote:
> I am using the latest antlr (well maybe not the bleeding edge release,
> 2.7.3) and I am getting this.
>
> $ javac -d ./build -Xlint:deprecation ./build/*.java
> C:\antlr-2.7.3\antlr\Parser.java:324: warning: [deprecation]
> setASTNodeType(java
> .lang.String) in antlr.ASTFactory has been deprecated
> astFactory.setASTNodeType(cl);
> ^
> C:\antlr-2.7.3\antlr\TreeParser.java:134: warning: [deprecation]
> setASTNodeType(
> java.lang.String) in antlr.ASTFactory has been deprecated
> astFactory.setASTNodeType(nodeType);
> ^
> 2 warnings
>
>
> Any ideas?
>
> Thanks
> Ron
Hi Ron. I think you just need to change the method name. :) Check out
the source for the factory.
Terence
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list