summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-06-06 20:08:42 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-06-15 08:47:57 (GMT)
commit438375840da2b1ea19126f8d4b53f0bc71c62a68 (patch)
tree457efda590a8958922596caa004035989b08bc06 /src/code.l
parent8cd4425a523965a5541d46a84828fb7e16f98bae (diff)
downloadDoxygen-438375840da2b1ea19126f8d4b53f0bc71c62a68.zip
Doxygen-438375840da2b1ea19126f8d4b53f0bc71c62a68.tar.gz
Doxygen-438375840da2b1ea19126f8d4b53f0bc71c62a68.tar.bz2
Bug 700740 - Doxygen does not create links on C++ 11 style enum classes
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code.l b/src/code.l
index 01636fa..d38f492 100644
--- a/src/code.l
+++ b/src/code.l
@@ -863,7 +863,7 @@ static bool getLinkInScope(const QCString &c, // scope
}
Definition *d = md->getOuterScope()==Doxygen::globalScope ?
- md->getBodyDef() : md->getOuterScope();
+ md->getFileDef() : md->getOuterScope();
if (md->getGroupDef()) d = md->getGroupDef();
if (d && d->isLinkable())
{
@@ -1000,7 +1000,7 @@ static void generateClassOrGlobalLink(CodeOutputInterface &ol,const char *clName
if (md)
{
Definition *d = md->getOuterScope()==Doxygen::globalScope ?
- md->getBodyDef() : md->getOuterScope();
+ md->getFileDef() : md->getOuterScope();
if (md->getGroupDef()) d = md->getGroupDef();
if (d && d->isLinkable() && md->isLinkable() && g_currentMemberDef)
{
@@ -1098,7 +1098,7 @@ static bool generateClassMemberLink(CodeOutputInterface &ol,MemberDef *xmd,const
g_theCallContext.setClass(typeClass);
Definition *xd = xmd->getOuterScope()==Doxygen::globalScope ?
- xmd->getBodyDef() : xmd->getOuterScope();
+ xmd->getFileDef() : xmd->getOuterScope();
if (xmd->getGroupDef()) xd = xmd->getGroupDef();
if (xd && xd->isLinkable())
{