diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-07-09 19:45:37 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-07-09 19:45:37 (GMT) |
commit | 61a83f312ce95090dc02ca3b8ce8dd3319d97df1 (patch) | |
tree | 2dbdf12fc6696bf3a9d133e8e23ef223690e919a /src/definition.cpp | |
parent | e3baf8c5ec430e5f09f00384ebdfa35242fd3316 (diff) | |
download | Doxygen-61a83f312ce95090dc02ca3b8ce8dd3319d97df1.zip Doxygen-61a83f312ce95090dc02ca3b8ce8dd3319d97df1.tar.gz Doxygen-61a83f312ce95090dc02ca3b8ce8dd3319d97df1.tar.bz2 |
Release-1.1.5_20000709
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 1d663ab..4b96f04 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -324,21 +324,22 @@ void Definition::writeSourceRefs(OutputList &ol,const char *scopeName) parseText(ol,theTranslator->trReferencedBy()); ol.docify(" "); - QCString defLine=theTranslator->trWriteList(sourceRefList->count()); + QCString ldefLine=theTranslator->trWriteList(sourceRefList->count()); QRegExp marker("@[0-9]+"); int index=0,newIndex,matchLen; // now replace all markers in inheritLine with links to the classes - while ((newIndex=marker.match(defLine,index,&matchLen))!=-1) + while ((newIndex=marker.match(ldefLine,index,&matchLen))!=-1) { bool ok; - parseText(ol,defLine.mid(index,newIndex-index)); - uint entryIndex = defLine.mid(newIndex+1,matchLen-1).toUInt(&ok); + parseText(ol,ldefLine.mid(index,newIndex-index)); + uint entryIndex = ldefLine.mid(newIndex+1,matchLen-1).toUInt(&ok); MemberDef *md=sourceRefList->at(entryIndex); if (ok && md) { QCString scope=md->getScopeString(); QCString name=md->name(); + //printf("class=%p scope=%s scopeName=%s\n",md->memberClass(),scope.data(),scopeName); if (!scope.isEmpty() && scope!=scopeName) { name.prepend(scope+"::"); @@ -358,7 +359,7 @@ void Definition::writeSourceRefs(OutputList &ol,const char *scopeName) } index=newIndex+matchLen; } - parseText(ol,defLine.right(defLine.length()-index)); + parseText(ol,ldefLine.right(ldefLine.length()-index)); ol.writeString("."); } ol.popGeneratorState(); |