diff --git a/lib/preprocessor.cpp b/lib/preprocessor.cpp index b02f751f2..bd46d1e7d 100644 --- a/lib/preprocessor.cpp +++ b/lib/preprocessor.cpp @@ -818,7 +818,7 @@ void Preprocessor::dump(std::ostream &out) const for (std::list::const_iterator it = directives.begin(); it != directives.end(); ++it) { out << " file << "\" " + << "file=\"" << ErrorLogger::toxml(it->file) << "\" " << "linenr=\"" << it->linenr << "\" " // str might contain characters such as '"', '<' or '>' which // could result in invalid XML, so run it through toxml().