summaryrefslogtreecommitdiffstats
path: root/src/tagreader.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-01-28 18:16:38 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-01-28 18:16:38 (GMT)
commit1426e2fbce1e3e4c8089b228c843042c90b2d1c4 (patch)
tree26b976ebd24f845a5cf88ab76f81f928c47c4548 /src/tagreader.cpp
parentbf4bb2e1e1fb5e61fa5a7458f6354002994fa5ee (diff)
downloadDoxygen-1426e2fbce1e3e4c8089b228c843042c90b2d1c4.zip
Doxygen-1426e2fbce1e3e4c8089b228c843042c90b2d1c4.tar.gz
Doxygen-1426e2fbce1e3e4c8089b228c843042c90b2d1c4.tar.bz2
Release-1.2.4-20010128
Diffstat (limited to 'src/tagreader.cpp')
-rw-r--r--src/tagreader.cpp42
1 files changed, 31 insertions, 11 deletions
diff --git a/src/tagreader.cpp b/src/tagreader.cpp
index 997f171..9070103 100644
--- a/src/tagreader.cpp
+++ b/src/tagreader.cpp
@@ -32,6 +32,7 @@
#include "doxygen.h"
#include "util.h"
#include "message.h"
+//#include "reflist.h"
/*! Container for member specific info that can be read from a tagfile */
class TagMemberInfo
@@ -740,17 +741,36 @@ void TagFileParser::addDocAnchors(Entry *e,QStrList &l)
while (s)
{
QCString *anchorName = new QCString(s);
- if (Doxygen::sectionDict.find(*anchorName)==0)
- {
- SectionInfo *si=new SectionInfo(*anchorName,*anchorName,
- SectionInfo::Anchor,m_tagName);
- Doxygen::sectionDict.insert(*anchorName,si);
- e->anchors->append(anchorName);
- }
- else
- {
- err("Duplicate anchor %s found\n",anchorName->data());
- }
+ //if (anchorName->left(5)=="_todo")
+ //{
+ // int todoItemId = todoList.addRefItem();
+ // char anchorLabel[12];
+ // sprintf(anchorLabel,"_todo%06d",todoItemId);
+ // RefItem *item = todoList.getRefItem(todoItemId);
+ // item->listAnchor = anchorLabel;
+ //}
+ //else if (anchorName->left(5)=="_test")
+ //{
+ // int testItemId = testList.addRefItem();
+ // char anchorLabel[12];
+ // sprintf(anchorLabel,"_test%06d",testItemId);
+ // RefItem *item = testList.getRefItem(testItemId);
+ // item->listAnchor = anchorLabel;
+ //}
+ //else
+ //{
+ if (Doxygen::sectionDict.find(*anchorName)==0)
+ {
+ SectionInfo *si=new SectionInfo(*anchorName,*anchorName,
+ SectionInfo::Anchor,m_tagName);
+ Doxygen::sectionDict.insert(*anchorName,si);
+ e->anchors->append(anchorName);
+ }
+ else
+ {
+ err("Duplicate anchor %s found\n",anchorName->data());
+ }
+ //}
s=l.next();
}
}