From: Stefan S. <se...@sy...> - 2005-01-27 05:44:26
|
Hello, I'm currently working on a new symbol lookup module using the parse tree and the parser originally developed as part of OpenCxx. In this context, I'v ran into a couple of contexts where I don't understand why the parse tree is structured the way it is, and I'd like to know whether it could be changed. For example, the name in a 'using' declaration / directive will simply be a list of atoms, instead of a 'Name' (say), so it is impossible to extract the encoded name from it. However, as the Using type is currently not used at all (the Walker returns it unchanged, and Environment doesn't know about it either) it seems as if this could be easily changed, if there is no other reason for the current layout. A similar situation is with 'typedef' declarations. The type specifier, too, is just a list of atoms, instead of something with an encoded name / type. Why is that ? Thanks for any help, Stefan |