From f4b32d74c78a10bc6178cfebf6e65151fdbc1d31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 9 Mar 2023 21:58:33 +0100 Subject: [PATCH] dump: update info in dump file --- lib/templatesimplifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }