xml: Add column attribute in <location>
This commit is contained in:
parent
6431d1c58a
commit
04e3884ff6
|
@ -401,6 +401,7 @@ std::string ErrorLogger::ErrorMessage::toXML() const
|
||||||
printer.PushAttribute("file0", Path::toNativeSeparators(file0).c_str());
|
printer.PushAttribute("file0", Path::toNativeSeparators(file0).c_str());
|
||||||
printer.PushAttribute("file", (*it).getfile().c_str());
|
printer.PushAttribute("file", (*it).getfile().c_str());
|
||||||
printer.PushAttribute("line", std::max((*it).line,0));
|
printer.PushAttribute("line", std::max((*it).line,0));
|
||||||
|
printer.PushAttribute("column", (*it).col);
|
||||||
if (!it->getinfo().empty())
|
if (!it->getinfo().empty())
|
||||||
printer.PushAttribute("info", fixInvalidChars(it->getinfo()).c_str());
|
printer.PushAttribute("info", fixInvalidChars(it->getinfo()).c_str());
|
||||||
printer.CloseElement(false);
|
printer.CloseElement(false);
|
||||||
|
|
Loading…
Reference in New Issue