ctu: fixes for xml output
This commit is contained in:
parent
1f411498b6
commit
b729c4a126
|
@ -79,9 +79,9 @@ std::string CTU::FileInfo::CallBase::toBaseXmlString() const
|
||||||
{
|
{
|
||||||
std::ostringstream out;
|
std::ostringstream out;
|
||||||
out << " " << ATTR_CALL_ID << "=\"" << callId << "\""
|
out << " " << ATTR_CALL_ID << "=\"" << callId << "\""
|
||||||
<< " " << ATTR_CALL_FUNCNAME << "=\"" << callFunctionName << "\""
|
<< " " << ATTR_CALL_FUNCNAME << "=\"" << ErrorLogger::toxml(callFunctionName) << "\""
|
||||||
<< " " << ATTR_CALL_ARGNR << "=\"" << callArgNr << "\""
|
<< " " << ATTR_CALL_ARGNR << "=\"" << callArgNr << "\""
|
||||||
<< " " << ATTR_LOC_FILENAME << "=\"" << location.fileName << "\""
|
<< " " << ATTR_LOC_FILENAME << "=\"" << ErrorLogger::toxml(location.fileName) << "\""
|
||||||
<< " " << ATTR_LOC_LINENR << "=\"" << location.lineNumber << "\""
|
<< " " << ATTR_LOC_LINENR << "=\"" << location.lineNumber << "\""
|
||||||
<< " " << ATTR_LOC_COLUMN << "=\"" << location.column << "\"";
|
<< " " << ATTR_LOC_COLUMN << "=\"" << location.column << "\"";
|
||||||
return out.str();
|
return out.str();
|
||||||
|
|
Loading…
Reference in New Issue