From b8e1352a1ec17989842baa8f7aa2ccd1fbe464d3 Mon Sep 17 00:00:00 2001 From: Username404 Date: Thu, 30 Dec 2021 16:45:58 +0100 Subject: [PATCH] Don't output an extra new line in the stringInterpolation() function --- src/headers/transpiler/Target.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/transpiler/Target.hpp b/src/headers/transpiler/Target.hpp index 82c685a..9a03117 100644 --- a/src/headers/transpiler/Target.hpp +++ b/src/headers/transpiler/Target.hpp @@ -62,7 +62,7 @@ protected: output << view.substr(occurrence + strlen(interpolationString), (closingBrace - occurrence) - strlen(interpolationString)); } } - } else output << openCharacters << view << closeCharacters << '\n'; + } else output << openCharacters << view << closeCharacters; } typedef function task; #define make_task_base(type, captures, function_body) make_pair(type_index(typeid(type)), [captures](const ParseTree& parsedTree, unsigned int& index) { const type& parseComponent = pointerAs(parsedTree[index]); function_body })