diff options
Diffstat (limited to 'src/vhdldocgen.cpp')
-rw-r--r-- | src/vhdldocgen.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp index 7abebc0..2f26558 100644 --- a/src/vhdldocgen.cpp +++ b/src/vhdldocgen.cpp @@ -1872,12 +1872,12 @@ void VhdlDocGen::writeVHDLDeclaration(MemberDef* mdef,OutputList &ol, } // write search index info - //if (Config_getBool("SEARCHENGINE")) - //{ - // Doxygen::searchIndex->setCurrentDoc(mdef->qualifiedName(),mdef->getOutputFileBase(),mdef->anchor()); - // Doxygen::searchIndex->addWord(mdef->localName(),TRUE); - // Doxygen::searchIndex->addWord(mdef->qualifiedName(),FALSE); - //} + if (Doxygen::searchIndex) + { + Doxygen::searchIndex->setCurrentDoc(mdef->qualifiedName(),mdef->getOutputFileBase(),mdef->anchor()); + Doxygen::searchIndex->addWord(mdef->localName(),TRUE); + Doxygen::searchIndex->addWord(mdef->qualifiedName(),FALSE); + } QCString cname = d->name(); QCString cfname = mdef->getOutputFileBase(); |