[antlr-interest] My ASTNode gets deleted more than once
Ric Klaren
klaren at cs.utwente.nl
Thu Apr 3 01:36:42 PST 2003
Hi,
On Wed, Apr 02, 2003 at 10:16:57AM -0000, marcschellens wrote:
> 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?
This is with 'vanilla' usage? Or are you doing special stuff? Feel free to
send me a tarball/zip with all the stuff that demonstrates the problem.
(preferably something that runs on unix)
Cheers,
Ric
--
-----+++++*****************************************************+++++++++-------
---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722 ----
-----+++++*****************************************************+++++++++-------
Wo das Chaos auf die Ordnung trifft, gewinnt meist das Chaos, weil es
besser organisiert ist. --- Friedrich Nietzsche
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list