[antlr-interest] ASTFactory.dup*

Andreas Rueckert a_rueckert at gmx.net
Sun Dec 23 02:07:21 PST 2001


Hi!

I just learned yesterday, that the dup* methods don't work as expected, if you
use various types of AST nodes and cannot set the default AST type therefore.
They return a CommonAST node, instead of the typ, that is passed to them. I've
already found a workaround for me, but maybe using some clone() method in the
dup* methods would be better?

Ciao,
Andreas

 

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



More information about the antlr-interest mailing list