summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-09-27 19:20:12 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-09-27 19:20:12 (GMT)
commitb3063065e56a63056b094b58a883856267e32db3 (patch)
tree5485e95b8a8a758f2d0d0a39e611d4d9b1ad519b /src/util.cpp
parentba7233b1be8545e619d80a62dd274521392fbe1f (diff)
downloadDoxygen-b3063065e56a63056b094b58a883856267e32db3.zip
Doxygen-b3063065e56a63056b094b58a883856267e32db3.tar.gz
Doxygen-b3063065e56a63056b094b58a883856267e32db3.tar.bz2
Release-1.4.4-20050927
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 8cf4ba5..e07536a 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -3849,6 +3849,7 @@ bool resolveLink(/* in */ const char *scName,
GroupDef *gd;
PageDef *pd;
ClassDef *cd;
+ DirDef *dir;
NamespaceDef *nd;
bool ambig;
if (linkRef.isEmpty()) // no reference name!
@@ -3902,6 +3903,12 @@ bool resolveLink(/* in */ const char *scName,
*resContext=nd;
return TRUE;
}
+ else if ((dir=Doxygen::directories.find(QFileInfo(linkRef).absFilePath()+"/"))
+ && dir->isLinkable()) // TODO: make this location independent like filedefs
+ {
+ *resContext=dir;
+ return TRUE;
+ }
else // probably a member reference
{
MemberDef *md;