summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-01-06 09:45:23 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-01-06 09:45:23 (GMT)
commitdcdd35ce2a0cda024525298a9a20d6c746539e6d (patch)
tree6e7a69e4d8d29a1bfcc4a5c917af1cdba68333c1 /src/memberdef.cpp
parentd49604f814ceb22f81571d8ca99540e62cfa979a (diff)
downloadDoxygen-dcdd35ce2a0cda024525298a9a20d6c746539e6d.zip
Doxygen-dcdd35ce2a0cda024525298a9a20d6c746539e6d.tar.gz
Doxygen-dcdd35ce2a0cda024525298a9a20d6c746539e6d.tar.bz2
Fortran: warning message about not documented module member
When having a not documented MODULE member it is mentioned that a member in a 'namespace' is not documented. For Fortran this is a bit strange as Fortran does not know the term namespace, modules are handled as namespaces (in the pre 1.8.9 version a message was given about 'class', which is equally confusing). This patch changes in this case 'namespace' to 'module'.
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 9198960..4d7afef 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -3203,7 +3203,13 @@ void MemberDef::warnIfUndocumented()
if (cd)
t="class", d=cd;
else if (nd)
- t="namespace", d=nd;
+ {
+ d=nd;
+ if (d->getLanguage() == SrcLangExt_Fortran)
+ t="module";
+ else
+ t="namespace";
+ }
else if (gd)
t="group", d=gd;
else