diff --git a/lib/templatesimplifier.cpp b/lib/templatesimplifier.cpp index 74691653e..91bb0011f 100644 --- a/lib/templatesimplifier.cpp +++ b/lib/templatesimplifier.cpp @@ -250,7 +250,7 @@ TemplateSimplifier::TokenAndName::~TokenAndName() std::string TemplateSimplifier::TokenAndName::dump(const std::vector& fileNames) const { std::string ret = " fileIndex())) + "\" line=\"" + std::to_string(mToken->linenr()) + "\">\n"; for (const Token* tok = mToken; tok && !Token::Match(tok, "[;{}]"); tok = tok->next()) - ret += " " + ErrorLogger::toxml(tok->str()) + "\n"; + ret += " str()) + "\"/>\n"; return ret + " \n"; }