summaryrefslogtreecommitdiff
path: root/src/macro_rules/macro_rules.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-26 12:01:57 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-26 12:01:57 +0800
commitb2e0f5c122b64fe31ba935f9cb5c6a397fd8f6ab (patch)
treeac8345ef30f03ef950b0cac61f299afd34959e4f /src/macro_rules/macro_rules.hpp
parent03d5e68698de0da77ee97775578822b55c6148ef (diff)
downloadmrust-b2e0f5c122b64fe31ba935f9cb5c6a397fd8f6ab.tar.gz
Expand - Pass ownership of the input TT to macro_rules! expand
Diffstat (limited to 'src/macro_rules/macro_rules.hpp')
-rw-r--r--src/macro_rules/macro_rules.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macro_rules/macro_rules.hpp b/src/macro_rules/macro_rules.hpp
index 265ea73a..550068b8 100644
--- a/src/macro_rules/macro_rules.hpp
+++ b/src/macro_rules/macro_rules.hpp
@@ -150,7 +150,7 @@ public:
SERIALISABLE_PROTOTYPES();
};
-extern ::std::unique_ptr<TokenStream> Macro_InvokeRules(const char *name, const MacroRules& rules, const TokenTree& input, AST::Module& mod);
+extern ::std::unique_ptr<TokenStream> Macro_InvokeRules(const char *name, const MacroRules& rules, TokenTree input, AST::Module& mod);
extern MacroRulesPtr Parse_MacroRules(TokenStream& lex);
#endif // MACROS_HPP_INCLUDED