[antlr-interest] My ASTNode gets deleted more than once

marcschellens m_schellens at hotmail.com
Wed Apr 2 02:16:57 PST 2003


I wrote using ANTLR 2.7.1 with C++ an parser and a TreeParser.
I retrieve the trees from them via the getAST() method.
I use my own AST and AST factory in the manner Peter Morling
described.
But when the RefAST variables who store the AST (from getAST())
go out of scope, at least one node (possibly all, haven't checked)
gets deleted more than once.
How could this be?
thanks,
regards,
marc


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list