diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-03-30 19:53:04 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-03-30 19:53:04 (GMT) |
commit | b69146af8dce22431fc50dc3fcea6c7fd5fb1063 (patch) | |
tree | dcb3e2354df7b19ebd9458aca416a61d4922bc5c /src/util.cpp | |
parent | fc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea (diff) | |
download | Doxygen-b69146af8dce22431fc50dc3fcea6c7fd5fb1063.zip Doxygen-b69146af8dce22431fc50dc3fcea6c7fd5fb1063.tar.gz Doxygen-b69146af8dce22431fc50dc3fcea6c7fd5fb1063.tar.bz2 |
Release-1.3-rc3-20030330
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/util.cpp b/src/util.cpp index 75ca37f..494a333 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -467,9 +467,11 @@ QCString resolveTypeDef(Definition *context,const QCString &qualifiedName, MemberDef *tmd=0; for (;(tmd=mni.current());++mni) { - //printf("Found member %s scope=%p mContext=%p\n",tmd->name().data(), - // tmd->getOuterScope(),mContext); - if (tmd->isTypedef() && tmd->getOuterScope()==resScope) + //printf("Found member %s resScope=%s outerScope=%s mContext=%p\n", + // tmd->name().data(), resScope->name().data(), + // tmd->getOuterScope()->name().data(), mContext); + if (tmd->isTypedef() /*&& tmd->getOuterScope()==resScope*/) + /*! TODO: look if resScope is visible within tmd->getOuterScope() */ { md=tmd; } @@ -2739,6 +2741,10 @@ bool generateLink(OutputDocInterface &od,const char *clName, { linkText=((GroupDef *)compound)->groupTitle(); // use group's title as link } + else if (compound->definitionType()==Definition::TypeFile) + { + linkText=lt; // use text "as is" + } od.writeObjectLink(compound->getReference(), compound->getOutputFileBase(),anchor,linkText); if (!compound->isReference()) @@ -2761,6 +2767,7 @@ bool generateLink(OutputDocInterface &od,const char *clName, void generateFileRef(OutputDocInterface &od,const char *name,const char *text) { + //printf("generateFileRef(%s,%s)\n",name,text); QCString linkText = text ? text : name; //FileInfo *fi; FileDef *fd; @@ -3581,7 +3588,8 @@ found: //---------------------------------------------------------------------------- PageInfo *addRelatedPage(const char *name,const QCString &ptitle, - const QCString &doc,QList<QCString> *anchors, + const QCString &doc, + QList<QCString> * /*anchors*/, const char *fileName,int startLine, const QList<ListItemInfo> *sli, GroupDef *gd, @@ -3634,7 +3642,7 @@ PageInfo *addRelatedPage(const char *name,const QCString &ptitle, pageName=pi->name.lower(); //setFileNameForSections(anchors,pageName,pi); pi->fileName = pageName; - pi->addSections(anchors); + //pi->addSections(anchors); //printf("Appending page `%s'\n",baseName.data()); Doxygen::pageSDict->append(baseName,pi); |