summaryrefslogtreecommitdiff
path: root/src/expand/concat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand/concat.cpp')
-rw-r--r--src/expand/concat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expand/concat.cpp b/src/expand/concat.cpp
index a08e9168..29a066df 100644
--- a/src/expand/concat.cpp
+++ b/src/expand/concat.cpp
@@ -20,7 +20,7 @@ class CConcatExpander:
{
Token tok;
- auto lex = TTStream(tt);
+ auto lex = TTStream(sp, tt);
if( ident != "" )
ERROR(sp, E0000, "format_args! doesn't take an ident");
@@ -64,7 +64,7 @@ class CConcatExpander:
if( tok.type() != TOK_EOF )
throw ParseError::Unexpected(lex, tok, {TOK_COMMA, TOK_EOF});
- return box$( TTStreamO(TokenTree(Token(TOK_STRING, mv$(rv)))) );
+ return box$( TTStreamO(sp, TokenTree(Token(TOK_STRING, mv$(rv)))) );
}
};