diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-07-08 20:06:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-07-08 20:06:16 (GMT) |
commit | 5444ff60bbf81c46841827e66e72f3148edde9ff (patch) | |
tree | 0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/doctokenizer.l | |
parent | 17c14fb5230cfc532577c32df1d10223534392d8 (diff) | |
download | Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.zip Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.gz Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.bz2 |
Release-1.3.2-20030708
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r-- | src/doctokenizer.l | 14 |
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); } } |