From 785f32465f51ac5f0421de31d0c0cc478c122928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 16 Apr 2023 18:17:05 +0200 Subject: [PATCH] dump: fix xml in TokenAndName element --- lib/templatesimplifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/templatesimplifier.cpp b/lib/templatesimplifier.cpp index 57c7265ea..a4b65e955 100644 --- a/lib/templatesimplifier.cpp +++ b/lib/templatesimplifier.cpp @@ -248,7 +248,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"; + std::string ret = " fileIndex())) + "\" line=\"" + std::to_string(mToken->linenr()) + "\">\n"; for (const Token* tok = mToken; tok && !Token::Match(tok, "[;{}]"); tok = tok->next()) ret += " str()) + "\"/>\n"; return ret + " \n";