summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 8b8e648..3c71840 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -975,7 +975,7 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
{
t << " <location file=\""
<< stripFromPath(md->getDefFileName()) << "\" line=\""
- << md->getDefLine() << "\"" << " column=\""
+ << md->getDefLine() << "\" column=\""
<< md->getDefColumn() << "\"" ;
if (md->getStartBodyLine()!=-1)
{
@@ -987,6 +987,12 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
t << " bodystart=\"" << md->getStartBodyLine() << "\" bodyend=\""
<< md->getEndBodyLine() << "\"";
}
+ if (md->getDeclLine()!=-1)
+ {
+ t << " declfile=\"" << stripFromPath(md->getDeclFileName()) << "\" declline=\""
+ << md->getDeclLine() << "\" declcolumn=\""
+ << md->getDeclColumn() << "\"";
+ }
t << "/>" << endl;
}