diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-09 12:53:11 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-09 12:53:11 +0800 |
commit | bc0bc36123727c258dd3f2a61b7e46507485777b (patch) | |
tree | 069fced4cc9226d3cd49abfb1b401bddf3b48fef /src/ast/ast.hpp | |
parent | baaca746b480d0ede1c15ae24327f57475d04353 (diff) | |
download | mrust-bc0bc36123727c258dd3f2a61b7e46507485777b.tar.gz |
Expand - #[macro_reexport]
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r-- | src/ast/ast.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp index e65ba2c2..700a7e40 100644 --- a/src/ast/ast.hpp +++ b/src/ast/ast.hpp @@ -549,9 +549,7 @@ public: m_neg_impls.emplace_back( mv$(impl) );
}
void add_macro(bool is_exported, ::std::string name, MacroRulesPtr macro);
- void add_macro_import(::std::string name, const MacroRules& mr) {
- m_macro_import_res.push_back( NamedNS<const MacroRules*>( mv$(name), &mr, false ) );
- }
+ void add_macro_import(::std::string name, const MacroRules& mr);
|