diff options
Diffstat (limited to 'src/pycode.l')
-rw-r--r-- | src/pycode.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pycode.l b/src/pycode.l index 21179ab..5ab3090 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -304,9 +304,10 @@ static ClassDef *stripClassName(const char *s) QCString type = s; QCString className; QCString templSpec; - while (extractClassNameFromType(type,pos,className,templSpec)) + while (extractClassNameFromType(type,pos,className,templSpec)!=-1) { QCString clName=className+templSpec; + ClassDef *cd=0; if (!g_classScope.isEmpty()) { @@ -316,7 +317,6 @@ static ClassDef *stripClassName(const char *s) { cd=getResolvedClass(g_currentDefinition,g_sourceFileDef,clName); } - //printf("stripClass trying `%s' = %p\n",clName.data(),cd); if (cd) { return cd; |