Maybe a silly question, but to be sure: If I am using my own AST and I have a treewalker not modifying/generating any AST, do I need: parser.initializeASTFactory( MyNodeFactory); parser.setASTFactory( &MyNodeFactory ); thanks, marc Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/