diff --git a/lib/source/pl/core/preprocessor.cpp b/lib/source/pl/core/preprocessor.cpp index 84aaf5df..abe3323a 100644 --- a/lib/source/pl/core/preprocessor.cpp +++ b/lib/source/pl/core/preprocessor.cpp @@ -342,7 +342,7 @@ namespace pl::core { m_token++; tokenLiteral = std::get_if(&m_token->value); if (tokenLiteral != nullptr && m_token->location.line == line) { - message += " " + tokenLiteral->toString(false); + message += std::string(" ") + tokenLiteral->toString(false); m_token++; } error(message);