summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-02-15 20:00:58 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-02-15 20:00:58 (GMT)
commitb0cbd5971eb11555a9ea3ab5c23f2b0b97279b4d (patch)
treed5ea8d453754a1b971fadd965b8949a3a3d0de9a /src/xmlgen.cpp
parent8fda55cdfe71d9e23407169499e918478161328d (diff)
downloadDoxygen-b0cbd5971eb11555a9ea3ab5c23f2b0b97279b4d.zip
Doxygen-b0cbd5971eb11555a9ea3ab5c23f2b0b97279b4d.tar.gz
Doxygen-b0cbd5971eb11555a9ea3ab5c23f2b0b97279b4d.tar.bz2
Release-1.3-rc3-20020215
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp9
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 &&