diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-27 20:59:00 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-27 20:59:00 +0800 |
commit | 96bac875d150d2e790d1813c9bfd903288cf419b (patch) | |
tree | 0fb9c8db555cccfbe56394ed697d354408492f31 /src/expand/concat.cpp | |
parent | de98e50b73d17b78f0233d9d8cf2239a0a60c778 (diff) | |
download | mrust-96bac875d150d2e790d1813c9bfd903288cf419b.tar.gz |
Expand - Expand macros in format_args! string
Diffstat (limited to 'src/expand/concat.cpp')
-rw-r--r-- | src/expand/concat.cpp | 3 |
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()) ) { |