summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-11-23 13:18:48 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-11-23 13:18:48 (GMT)
commit738c0dd829b6e3ae74359a8d92d12b491fa71d1b (patch)
treee4b27bc1a133425bb869f4347b0495c41fc0bc4c /src
parent200b828ead9f6bb5b2f6f99919837d5828a250e4 (diff)
downloadDoxygen-738c0dd829b6e3ae74359a8d92d12b491fa71d1b.zip
Doxygen-738c0dd829b6e3ae74359a8d92d12b491fa71d1b.tar.gz
Doxygen-738c0dd829b6e3ae74359a8d92d12b491fa71d1b.tar.bz2
Bug 740446 - invalid copydoc target does not result in warning
Diffstat (limited to 'src')
-rw-r--r--src/docparser.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index a788e13..b7e8dad 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -7122,6 +7122,12 @@ static QCString processCopyDoc(const char *data,uint &len)
isBrief?"brief":"details",id.data());
}
}
+ else
+ {
+ warn_doc_error(g_fileName,doctokenizerYYlineno,
+ "@copy%s or @copydoc target '%s' not found", isBrief?"brief":"details",
+ id.data());
+ }
// skip over command
i=j;
}