Permalink
Browse files

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'.
  • Loading branch information...
albert-github committed Jan 6, 2015
1 parent d49604f commit dcdd35ce2a0cda024525298a9a20d6c746539e6d
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/memberdef.cpp
View
@@ -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

0 comments on commit dcdd35c

Please sign in to comment.