summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-03-01 15:19:48 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-03-01 15:19:48 (GMT)
commit1d2bb19e394850ecb37bea06ef4e5d15fe06e7b0 (patch)
tree8a6b6a9b885e9e98d7d8b7eb73251fe7a40f1d5e /src/memberdef.cpp
parent8eeaae0b06fd320745f22efe176e0f19d6c8e2a6 (diff)
downloadDoxygen-1d2bb19e394850ecb37bea06ef4e5d15fe06e7b0.zip
Doxygen-1d2bb19e394850ecb37bea06ef4e5d15fe06e7b0.tar.gz
Doxygen-1d2bb19e394850ecb37bea06ef4e5d15fe06e7b0.tar.bz2
Bug 724949 - Server side (PHP) search broke in 1.8.3
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 8c5194e..8476568 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -1418,6 +1418,7 @@ void MemberDef::writeDeclaration(OutputList &ol,
if (cd) d=cd; else if (nd) d=nd; else if (fd) d=fd; else d=gd;
_writeTagData(compoundType);
+ _addToSearchIndex();
QCString cname = d->name();
QCString cdname = d->displayName();
@@ -3610,7 +3611,6 @@ void MemberDef::_writeTagData(const DefType compoundType)
}
writeDocAnchorsToTagFile();
Doxygen::tagFile << " </member>" << endl;
- _addToSearchIndex();
}
m_impl->tagDataWritten |= typeMask;
}
@@ -3740,6 +3740,7 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl,
if (isLinkableInProject() || hasDocumentedEnumValues())
{
_writeTagData(compoundType);
+ _addToSearchIndex();
writeLink(typeDecl,cd,nd,fd,gd);
}
else
@@ -3788,6 +3789,7 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl,
if (fmd->hasDocumentation()) // enum value has docs
{
fmd->_writeTagData(compoundType);
+ fmd->_addToSearchIndex();
fmd->writeLink(typeDecl,cd,nd,fd,gd);
}
else // no docs for this enum value