summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-03-04 17:01:28 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-03-04 17:01:28 (GMT)
commita7eef85a89d8772b7ab97a4ba378cc7e78c988cc (patch)
treed9183f0a4dee6e32f2926ea5ef4484b4f38f3985 /src/namespacedef.cpp
parent5e5615a9d2da8b923565c1bcadc9db48efbc75d0 (diff)
downloadDoxygen-a7eef85a89d8772b7ab97a4ba378cc7e78c988cc.zip
Doxygen-a7eef85a89d8772b7ab97a4ba378cc7e78c988cc.tar.gz
Doxygen-a7eef85a89d8772b7ab97a4ba378cc7e78c988cc.tar.bz2
Better error message in case of IDL inconsistency
In case of an IDL internal doxygen inconsistency ("error: Internal inconsistency: namespace in IDL not module, library or constant group ", see forum report: http://doxygen.10944.n7.nabble.com/Internal-inconsistency-Which-file-td7057.html) it is hard to find out which file causes the problem. In this case the comment block with @namespace was the "problem"). This patch solves this by adding the file and line number of the source file causing the problem.
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index 8001544..cce32af 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -1188,7 +1188,7 @@ QCString NamespaceDef::compoundTypeString() const
}
else
{
- err("Internal inconsistency: namespace in IDL not module, library or constant group\n");
+ err_full(getDefFileName(),getDefLine(),"Internal inconsistency: namespace in IDL not module, library or constant group");
}
}
return "";