summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/doxygen.cpp2
-rw-r--r--src/memberdef.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 8e97b4e..4b88a02 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -2592,7 +2592,7 @@ static MemberDef *addVariableToFile(
}
Debug::print(Debug::Variables,0,
- " new variable, nd=%s!\n",nd?qPrint(nd->name()):"<global>");
+ " new variable, nd=%s tagInfo=%p!\n",nd?qPrint(nd->name()):"<global>",rootNav->tagInfo());
// new global variable, enum value or typedef
MemberDef *md=new MemberDef(
fileName,root->startLine,root->startColumn,
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 05f8c94..8f1573c 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -1082,7 +1082,7 @@ void MemberDef::_computeLinkableInProject()
m_isLinkableCached = 1; // not a valid or a dummy name
return;
}
- if (!hasDocumentation() && !isReference())
+ if (!hasDocumentation() || isReference())
{
//printf("no docs or reference\n");
m_isLinkableCached = 1; // no documentation