summaryrefslogtreecommitdiffstats
path: root/src/reflist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-11-17 19:42:40 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-11-17 19:42:40 (GMT)
commitc6e41226574c94a869ad0757b53027562ef189e1 (patch)
tree8337108da498597418cc0db4da84a0867cd2a096 /src/reflist.cpp
parent9f477b87fc492221e1b7109d197fe468cd0ed23d (diff)
downloadDoxygen-c6e41226574c94a869ad0757b53027562ef189e1.zip
Doxygen-c6e41226574c94a869ad0757b53027562ef189e1.tar.gz
Doxygen-c6e41226574c94a869ad0757b53027562ef189e1.tar.bz2
Bug 740218 - Full scope needed when making link inside cross-referenced section
Diffstat (limited to 'src/reflist.cpp')
-rw-r--r--src/reflist.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/reflist.cpp b/src/reflist.cpp
index ee6ac91..3cc7694 100644
--- a/src/reflist.cpp
+++ b/src/reflist.cpp
@@ -20,6 +20,7 @@
#include "reflist.h"
#include "util.h"
#include "ftextstream.h"
+#include "definition.h"
/*! Create a list of items that are cross referenced with documentation blocks
* @param listName String representing the name of the list.
@@ -144,6 +145,12 @@ void RefList::generatePage()
doc += "\\anchor ";
doc += item->listAnchor;
doc += "\n";
+ if (item->scope)
+ {
+ doc += "\\_setscope ";
+ doc += item->scope->name();
+ doc += " ";
+ }
doc += item->prefix;
doc += " \\_internalref ";
doc += item->name;
@@ -166,6 +173,7 @@ void RefList::generatePage()
doc += "</dd>";
}
doc += "</dl>\n";
+ //printf("generatePage('%s')\n",doc.data());
addRelatedPage(m_listName,m_pageTitle,doc,0,m_listName,1,0,0,0);
}