diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-07-03 17:43:17 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-07-03 17:43:17 (GMT) |
commit | e3baf8c5ec430e5f09f00384ebdfa35242fd3316 (patch) | |
tree | d1720b58a91abcbfb70196c277ad3b7a11da8263 /src/classdef.cpp | |
parent | 1b2fd16cd8ed1830a7743a55dc1b9ec3ec59ad98 (diff) | |
download | Doxygen-e3baf8c5ec430e5f09f00384ebdfa35242fd3316.zip Doxygen-e3baf8c5ec430e5f09f00384ebdfa35242fd3316.tar.gz Doxygen-e3baf8c5ec430e5f09f00384ebdfa35242fd3316.tar.bz2 |
Release-1.1.5
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 11 |
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; |