bug in the class browser
Jonas Nordin
jonas.nordin at cenacle.se
Wed Jun 16 21:36:23 BST 1999
> I think porting everything to yacc using a complete c++-grammar would
> even make it more complicated. Anyway I think, since Jonas is using a
> tokenizer and a grammar-stack it should be easy to make his parser only
> use the last identifier as the classname.
Yup. Fixed in the CVS sources. :-)
> Concerning macros: Wouldn't it be enough to send the source through CPP
> before parsing it?
The problem doing that is that you will get all includes as well. This is a
problem since you then loose track of which file a class was declared in. This
can perhaps be solved in some way.
I have had the same thoughts as well. I haven't really tested it though. What I
really want is just to have the macros expanded. Anyone know of a way to do
that?
/J
More information about the KDevelop
mailing list