diff options
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index c5f6d46..9c90234 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -510,10 +510,17 @@ static void generateXMLForMember(MemberDef *md,QTextStream &ti,QTextStream &t,De ArgumentList *al = md->argumentList(); t << " const=\""; if (al && al->constSpecifier) t << "yes"; else t << "no"; - t << "\" volatile=\""; + t << "\""; + } + + if (md->memberType() == MemberDef::Variable) + { + ArgumentList *al = md->argumentList(); + t << " volatile=\""; if (al && al->volatileSpecifier) t << "yes"; else t << "no"; t << "\""; } + t << ">" << endl; if (md->memberType()!=MemberDef::Define && |