summaryrefslogtreecommitdiff
path: root/src/macro_rules/macro_rules.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-25 21:23:07 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-25 21:23:07 +0800
commit36e197f903ba19229b35cdd7c5bea045ca34dcdc (patch)
tree547ffd0f02cf00ebaba9dd40caf51c809d65cb0e /src/macro_rules/macro_rules.hpp
parentadc6e7e42f05724d031c50d6d0092753e87cc79d (diff)
downloadmrust-36e197f903ba19229b35cdd7c5bea045ca34dcdc.tar.gz
Parse+AST - Support capturing :item (requires cloning AST items)
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 7846f4ba..7f93edf9 100644
--- a/src/macro_rules/macro_rules.hpp
+++ b/src/macro_rules/macro_rules.hpp
@@ -149,7 +149,7 @@ public:
SERIALISABLE_PROTOTYPES();
};
-extern ::std::unique_ptr<TokenStream> Macro_InvokeRules(const char *name, const MacroRules& rules, const TokenTree& input);
+extern ::std::unique_ptr<TokenStream> Macro_InvokeRules(const char *name, const MacroRules& rules, const TokenTree& input, AST::Module& mod);
extern MacroRulesPtr Parse_MacroRules(TokenStream& lex);
#endif // MACROS_HPP_INCLUDED