From 04e3884ff63c6f67256520812b431266e6945005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 18 Aug 2019 08:37:56 +0200 Subject: [PATCH] xml: Add column attribute in --- lib/errorlogger.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/errorlogger.cpp b/lib/errorlogger.cpp index caade477b..75e255a79 100644 --- a/lib/errorlogger.cpp +++ b/lib/errorlogger.cpp @@ -401,6 +401,7 @@ std::string ErrorLogger::ErrorMessage::toXML() const printer.PushAttribute("file0", Path::toNativeSeparators(file0).c_str()); printer.PushAttribute("file", (*it).getfile().c_str()); printer.PushAttribute("line", std::max((*it).line,0)); + printer.PushAttribute("column", (*it).col); if (!it->getinfo().empty()) printer.PushAttribute("info", fixInvalidChars(it->getinfo()).c_str()); printer.CloseElement(false);