summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/expand/stringify.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expand/stringify.cpp b/src/expand/stringify.cpp
index f43d896f..cbb5c65c 100644
--- a/src/expand/stringify.cpp
+++ b/src/expand/stringify.cpp
@@ -20,8 +20,9 @@ class CExpander:
auto lex = TTStream(tt);
while( GET_TOK(tok, lex) != TOK_EOF )
{
+ if(!rv.empty())
+ rv += " ";
rv += tok.to_str();
- rv += " ";
}
return box$( TTStreamO(TokenTree(Token(TOK_STRING, mv$(rv)))) );