Skip to content

Commit d30a0fc

Browse files
committed
issue #9602: Link to namespace in TAGFILES is not resolved with EXTRACT_ALL=NO
1 parent 8eccd1c commit d30a0fc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/definition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ QCString DefinitionImpl::navigationPathAsString() const
13511351
result+=(toFileDef(m_impl->def))->getDirDef()->navigationPathAsString();
13521352
}
13531353
result+="<li class=\"navelem\">";
1354-
if (m_impl->def->isLinkable())
1354+
if (m_impl->def->isLinkableInProject())
13551355
{
13561356
if (m_impl->def->definitionType()==Definition::TypeGroup &&
13571357
!toGroupDef(m_impl->def)->groupTitle().isEmpty())

src/doxygen.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,8 +1713,9 @@ static void buildNamespaceList(const Entry *root)
17131713
{
17141714
nd->setLanguage(root->lang);
17151715
}
1716-
if (root->tagInfo()==0 && nd->isLinkableInProject()) // if we found the namespace in a tag file
1717-
// and also in a project file, then remove
1716+
if (root->tagInfo()==0 && nd->isReference() && !(root->doc.isEmpty() && root->brief.isEmpty()))
1717+
// if we previously found namespace nd in a tag file and now we find a
1718+
// documented namespace with the same name in the project, then remove
17181719
// the tag file reference
17191720
{
17201721
nd->setReference("");

0 commit comments

Comments
 (0)