Wednesday, January 30, 2002 01:13 AM
Java mode I presume? Are you trying to use the heterogeneous AST
stuff? With imaginary nodes and the
#([SOME_IMAGINARY_NODE] .. ) syntax?
Or are you just using a custom AST node class?
In the last case did you call setASTNodeType
before invoking your parser? Look at the
code of ASTFactory.java to see how the factory works.
If your trying heterogeneous AST's then you
may have to do some stuff manually since the
ASTFactory in java does not know about heterogeneous
AST's and only certain node construction syntax
is supported. C++ mode can do more of this
but I noticed some bugs in that as well.