diff options
author | albert-github <albert.tests@gmail.com> | 2019-08-07 13:12:34 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-08-07 13:12:34 (GMT) |
commit | cf4617ee1dc5b25b3e063863e886ac79a78d475c (patch) | |
tree | dab9c10e5a8b087b010aef85d8573e151adc0ac3 /src/util.cpp | |
parent | b51aa6497c579fcfce0fb3b261e7ca9418e48fe7 (diff) | |
download | Doxygen-cf4617ee1dc5b25b3e063863e886ac79a78d475c.zip Doxygen-cf4617ee1dc5b25b3e063863e886ac79a78d475c.tar.gz Doxygen-cf4617ee1dc5b25b3e063863e886ac79a78d475c.tar.bz2 |
issue #7147: No warning when same page created
Creating warning when adding documentation to an already existing page.
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 5808815..f5e43a4 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6754,6 +6754,8 @@ PageDef *addRelatedPage(const char *name,const QCString &ptitle, //printf("addRelatedPage(name=%s gd=%p)\n",name,gd); if ((pd=Doxygen::pageSDict->find(name)) && !tagInfo) { + warn(fileName,startLine,"multiple use of page label '%s', (other occurrence: %s, line: %d)", + name,pd->docFile().data(),pd->docLine()); // append documentation block to the page. pd->setDocumentation(doc,fileName,startLine); //printf("Adding page docs '%s' pi=%p name=%s\n",doc.data(),pd,name); |