summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-07-03 17:43:17 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-07-03 17:43:17 (GMT)
commitadb81f79061729efc28e71c1474c35e21283b049 (patch)
treed1720b58a91abcbfb70196c277ad3b7a11da8263 /src/classdef.cpp
parent9b28530018c59ce65519f49e8095ecd58b082c87 (diff)
downloadDoxygen-adb81f79061729efc28e71c1474c35e21283b049.zip
Doxygen-adb81f79061729efc28e71c1474c35e21283b049.tar.gz
Doxygen-adb81f79061729efc28e71c1474c35e21283b049.tar.bz2
Release-1.1.5
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index daacfba..558d33b 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1605,8 +1605,14 @@ void ClassDef::determineImplUsageRelation()
int brCount=1;
while (te<typeLen && brCount!=0)
{
- if (type.at(te)=='<') brCount++;
- if (type.at(te)=='>') brCount--;
+ if (type.at(te)=='<')
+ {
+ if (te<typeLen-1 && type.at(te+1)=='<') te++; else brCount++;
+ }
+ if (type.at(te)=='>')
+ {
+ if (te<typeLen-1 && type.at(te+1)=='>') te++; else brCount--;
+ }
te++;
}
}
@@ -1614,6 +1620,7 @@ void ClassDef::determineImplUsageRelation()
if (te>ts) templSpec = type.mid(ts,te-ts);
ClassDef *cd=getResolvedClass(name()+"::"+type.mid(i,l));
if (cd==0) cd=getResolvedClass(type.mid(i,l)); // TODO: also try inbetween scopes!
+ //printf("Search for class %s result=%p\n",type.mid(i,l).data(),cd);
if (cd) // class exists
{
found=TRUE;