summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 819903c..330fc57 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1424,8 +1424,12 @@ static ClassDef *getResolvedClassRec(const Definition *scope,
di = Doxygen::symbolMap->find(name+"-p");
if (di==0)
{
- //printf("no such symbol!\n");
- return 0;
+ di = Doxygen::symbolMap->find(name+" -p");
+ if (di==0)
+ {
+ //printf("no such symbol!\n");
+ return 0;
+ }
}
//}
}
@@ -4556,7 +4560,8 @@ static bool getScopeDefs(const char *docScope,const char *scope,
if (scopeOffset>0) fullName.prepend(docScopeName.left(scopeOffset)+"::");
if (((cd=getClass(fullName)) || // normal class
- (cd=getClass(fullName+"-p")) //|| // ObjC protocol
+ (cd=getClass(fullName+"-p")) || // ObjC protocol
+ (cd=getClass(fullName+" -p")) //|| // ObjC protocol
//(cd=getClass(fullName+"-g")) // C# generic
) && cd->isLinkable())
{