diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-19 09:33:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-19 09:33:38 (GMT) |
commit | fa28a4a9e53ba87035666680295273f36b237e19 (patch) | |
tree | 28bcc3034a8a9aac5b687bbb719d6d29e0a93e0a | |
parent | 6a1b3708a6bc240cea79b3191b0dafacb014fdb6 (diff) | |
parent | 1d17e7a56a822da4f443912c73fa6016a6934a96 (diff) | |
download | Doxygen-fa28a4a9e53ba87035666680295273f36b237e19.zip Doxygen-fa28a4a9e53ba87035666680295273f36b237e19.tar.gz Doxygen-fa28a4a9e53ba87035666680295273f36b237e19.tar.bz2 |
Merge pull request #6780 from albert-github/feature/issue_6779
issue #6679 Multiple use of section label warning for Setex-stype headers in markdown
-rw-r--r-- | src/markdown.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 74492ea..fcad7e9 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -2282,28 +2282,6 @@ static QCString processBlocks(const QCString &s,int indent) out.addStr(" "); out.addStr(header); out.addStr("\n\n"); - SectionInfo *si = Doxygen::sectionDict->find(id); - if (si) - { - if (si->lineNr != -1) - { - warn(g_fileName,g_lineNr,"multiple use of section label '%s', (first occurrence: %s, line %d)",header.data(),si->fileName.data(),si->lineNr); - } - else - { - warn(g_fileName,g_lineNr,"multiple use of section label '%s', (first occurrence: %s)",header.data(),si->fileName.data()); - } - } - else - { - si = new SectionInfo(g_fileName,g_lineNr,id,header, - level==1 ? SectionInfo::Section : SectionInfo::Subsection,level); - if (g_current) - { - g_current->anchors->append(si); - } - Doxygen::sectionDict->append(id,si); - } } else { |