diff options
Diffstat (limited to 'src/vhdldocgen.cpp')
-rw-r--r-- | src/vhdldocgen.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp index a87d53e..9646c42 100644 --- a/src/vhdldocgen.cpp +++ b/src/vhdldocgen.cpp @@ -209,12 +209,14 @@ ClassDef *VhdlDocGen::getClass(const char *name) void VhdlDocGen::computeVhdlComponentRelations() { ClassSDict::Iterator cli(*Doxygen::classSDict); - for (cli.toFirst();cli.current();++cli) + ClassDef *cd; + for (cli.toFirst();(cd=cli.current());++cli) { - cli.current()->visited=FALSE; - ClassDef * cd = cli.current(); - if ((VhdlDocGen::VhdlClasses)cd->protection()==VhdlDocGen::ARCHITECTURECLASS || - (VhdlDocGen::VhdlClasses)cd->protection()==VhdlDocGen::PACKBODYCLASS) + if (cd->getLanguage()==SrcLangExt_VHDL && + ((VhdlDocGen::VhdlClasses)cd->protection()==VhdlDocGen::ARCHITECTURECLASS || + (VhdlDocGen::VhdlClasses)cd->protection()==VhdlDocGen::PACKBODYCLASS + ) + ) { QCString bName=cd->name(); int i=bName.find("::"); |