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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/expand/concat.cpp b/src/expand/concat.cpp
index 61840065..46498d4f 100644
--- a/src/expand/concat.cpp
+++ b/src/expand/concat.cpp
@@ -24,8 +24,7 @@ class CConcatExpander:
do {
auto v = Parse_Expr0(lex);
DEBUG("concat - v=" << *v);
- Expand_Expr(true , *const_cast<AST::Crate*>(&crate), LList<const AST::Module*>(nullptr, &mod), v);
- Expand_Expr(false, *const_cast<AST::Crate*>(&crate), LList<const AST::Module*>(nullptr, &mod), v);
+ Expand_BareExpr(crate, mod, v);
DEBUG("concat[pe] - v=" << *v);
if( auto* vp = dynamic_cast<AST::ExprNode_String*>(v.get()) )
{