summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-09-07 12:39:16 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-09-07 12:39:16 (GMT)
commit28fe14198cf1da1f6bef42d4cba4cfbec35c7155 (patch)
tree8fcadb429392abbb5cbd2da807390bd174342ca4 /src/code.l
parent3e1360976b6ab9621b85d93fdd4e9232d6a7a7fa (diff)
downloadDoxygen-28fe14198cf1da1f6bef42d4cba4cfbec35c7155.zip
Doxygen-28fe14198cf1da1f6bef42d4cba4cfbec35c7155.tar.gz
Doxygen-28fe14198cf1da1f6bef42d4cba4cfbec35c7155.tar.bz2
Don't link to non existing / not accessible namespaces , in CSharp, in the source code
In the following the 'test' and 'System' were linked in the source code, this should not be the case. using test; using System; using System.IO; namespace NON { }
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index 13d538b..5aa333c 100644
--- a/src/code.l
+++ b/src/code.l
@@ -983,7 +983,7 @@ static void generateClassOrGlobalLink(CodeOutputInterface &ol,const char *clName
}
}
NamespaceDef *nd = getResolvedNamespace(className);
- if (nd)
+ if (nd && nd->isLinkableInProject())
{
g_theCallContext.setScope(nd);
addToSearchIndex(className);