Don't output an extra new line in the stringInterpolation() function

This commit is contained in:
Username404 2021-12-30 16:45:58 +01:00
parent 4a057e86ac
commit b8e1352a1e
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -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<void (const ParseTree& parsedTree, unsigned int& index)> 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<type>(parsedTree[index]); function_body })