diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-12-09 20:40:34 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-12-09 20:40:34 (GMT) |
commit | 7e4d434c3650bb9f7e5f460b1dbf6fed8be04a5f (patch) | |
tree | bbe6210f1426dabef9dcedc0d7d025f79fae6225 /src/code.l | |
parent | 79959c79850830e90aa7e00e72d3718785e29214 (diff) | |
download | Doxygen-7e4d434c3650bb9f7e5f460b1dbf6fed8be04a5f.zip Doxygen-7e4d434c3650bb9f7e5f460b1dbf6fed8be04a5f.tar.gz Doxygen-7e4d434c3650bb9f7e5f460b1dbf6fed8be04a5f.tar.bz2 |
Doxygen-1.2.12-20011209
Diffstat (limited to 'src/code.l')
-rw-r--r-- | src/code.l | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -699,9 +699,11 @@ static bool getLink(const char *className, g_anchorCount++; } } - Definition *d=0; - if (cd) d=cd; else if (nd) d=nd; else if (fd) d=fd; else d=gd; + //Definition *d=0; + //if (cd) d=cd; else if (nd) d=nd; else if (fd) d=fd; else d=gd; + Definition *d = md->getOuterScope()==Doxygen::globalScope ? + md->getBodyDef() : md->getOuterScope(); if (d && d->isLinkable()) { g_theCallContext.setClass(stripClassName(md->typeString())); |