diff options
author | albert-github <albert.tests@gmail.com> | 2015-03-21 16:52:12 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-03-21 16:52:12 (GMT) |
commit | da3faf6b93fd3eb4e751d2c0cbd4ed9ceae7922b (patch) | |
tree | d13b60df55b5facf0d1431a222f42256e7f3d49c /src/docparser.cpp | |
parent | a952249824a68abe249e81042c5c946d4cb74b6f (diff) | |
download | Doxygen-da3faf6b93fd3eb4e751d2c0cbd4ed9ceae7922b.zip Doxygen-da3faf6b93fd3eb4e751d2c0cbd4ed9ceae7922b.tar.gz Doxygen-da3faf6b93fd3eb4e751d2c0cbd4ed9ceae7922b.tar.bz2 |
Warnings without filename
In a number of instances we don't get the filename of where the error occurs but a name or even unknown between <> e.g.
<fie_p2>:1: warning: parameters of member fie_p2 are not (all) documented
<error>:1: warning: parameters of member p1.error are not (all) documented
<unknown>:1: warning: Member fie_p3 (function) of class p3::int1_p3 is not documented.
This patch tries to overcome this problem by providing the right file:
.../p2.h:8: warning: parameters of member fie_p2 are not (all) documented
.../p1.py:7: warning: parameters of member p1.error are not (all) documented
.../p3.f90:3: warning: Member fie_p3 (function) of class p3::int1_p3 is not documented.
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index fa77784..7944bf7 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -519,8 +519,8 @@ static void checkUndocumentedParams() } else { - warn_doc_error(g_memberDef->docFile(), - g_memberDef->docLine(), + warn_doc_error(g_memberDef->getDefFileName(), + g_memberDef->getDefLine(), substitute(errMsg,"%","%%")); } } |