summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-07-08 20:06:16 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-07-08 20:06:16 (GMT)
commitaca0b88941aefecfbef3186e63049cc7fba0a11c (patch)
tree0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/doctokenizer.l
parent509496da5e5b38aecbd91a5e20b3d695cbbef775 (diff)
downloadDoxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.zip
Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.gz
Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.bz2
Release-1.3.2-20030708
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index d558631..2a17819 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -206,7 +206,7 @@ static void parseHtmlAttribs(const char *att)
static void processSection()
{
- //printf("found section/anchor with name `%s'\n",g_secLabel.data());
+ //printf("%s: found section/anchor with name `%s'\n",g_fileName.data(),g_secLabel.data());
QCString file;
if (g_memberGroup)
{
@@ -221,15 +221,11 @@ static void processSection()
warn(g_fileName,yylineno,"Found section/anchor %s without context\n",g_secLabel.data());
}
SectionInfo *si=0;
- if ((si=Doxygen::sectionDict.find(g_secLabel))==0)
+ if ((si=Doxygen::sectionDict.find(g_secLabel)))
{
- si = new SectionInfo(file,g_secLabel,g_secTitle,g_secType);
- Doxygen::sectionDict.insert(g_secLabel,si);
- }
- else if (!si->generated)
- {
- warn(g_fileName,yylineno,"Duplicate section/anchor label %s found!\n",
- g_secLabel.data());
+ si->fileName = file;
+ //si = new SectionInfo(file,g_secLabel,g_secTitle,g_secType);
+ //Doxygen::sectionDict.insert(g_secLabel,si);
}
}