summaryrefslogtreecommitdiff
path: root/src/expand/macro_rules.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-03-09 14:12:48 +0800
committerJohn Hodge <tpg@mutabah.net>2016-03-09 14:12:48 +0800
commitaeccbb23b717985e8719b3758e3cd28a0c0052f4 (patch)
tree7ccad85d2354817991c6148bb663f733a72151dc /src/expand/macro_rules.hpp
parent0571d0f4741106bcb43b512a66747e582b12ead7 (diff)
downloadmrust-aeccbb23b717985e8719b3758e3cd28a0c0052f4.tar.gz
Parse - Remove module stack (was for macros), yield stream from macros
Diffstat (limited to 'src/expand/macro_rules.hpp')
-rw-r--r--src/expand/macro_rules.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expand/macro_rules.hpp b/src/expand/macro_rules.hpp
index 81e9b18a..b4e6e1e0 100644
--- a/src/expand/macro_rules.hpp
+++ b/src/expand/macro_rules.hpp
@@ -11,5 +11,6 @@ namespace AST {
class Module;
}
class TokenTree;
+class TokenStream;
-extern AST::Expr Macro_Invoke(const char* name, const MacroRules& rules, const TokenTree& tt, AST::Module& mod, MacroPosition position);
+extern ::std::unique_ptr<TokenStream> Macro_Invoke(const char* name, const MacroRules& rules, const TokenTree& tt, AST::Module& mod);