This commit is contained in:
Daniel Marjamäki 2017-08-03 18:03:59 +02:00
parent 1be04346b3
commit 61eccd7070
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ unsigned int CppCheck::processFile(const std::string& filename, const std::strin
// dump xml if --dump
if (_settings.dump && fdump.is_open()) {
fdump << "<dump cfg=\"" << cfg << "\">" << std::endl;
fdump << "<dump cfg=\"" << ErrorLogger::toxml(cfg) << "\">" << std::endl;
preprocessor.dump(fdump);
_tokenizer.dump(fdump);
fdump << "</dump>" << std::endl;