diff options
author | albert-github <albert.tests@gmail.com> | 2015-01-06 09:45:23 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-01-06 09:45:23 (GMT) |
commit | dcdd35ce2a0cda024525298a9a20d6c746539e6d (patch) | |
tree | 6e7a69e4d8d29a1bfcc4a5c917af1cdba68333c1 /src/memberdef.cpp | |
parent | d49604f814ceb22f81571d8ca99540e62cfa979a (diff) | |
download | Doxygen-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.cpp | 8 |
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 |