summaryrefslogtreecommitdiff
path: root/src/macros.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-03-07 11:09:38 +0800
committerJohn Hodge <tpg@mutabah.net>2016-03-07 11:09:38 +0800
commit30edd863f98df929326f2706c9a2ed32730a225b (patch)
tree300ada6a6d231ecff9b002b0a09d4866f273cd20 /src/macros.hpp
parent150a481100bba025bc5132338ae3d37f19de5bfc (diff)
downloadmrust-30edd863f98df929326f2706c9a2ed32730a225b.tar.gz
Expand - Start on macro_rules expanding
Diffstat (limited to 'src/macros.hpp')
-rw-r--r--src/macros.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macros.hpp b/src/macros.hpp
index d7efec1a..14b4add2 100644
--- a/src/macros.hpp
+++ b/src/macros.hpp
@@ -149,6 +149,7 @@ typedef ::std::vector<MacroRule> MacroRules;
extern const LList<AST::Module*>* Macro_GetModule();
extern void Macro_SetModule(const LList<AST::Module*>& mod);
+extern ::std::unique_ptr<TokenStream> Macro_InvokeRules(const char *name, const MacroRules& rules, TokenTree input);
extern ::std::unique_ptr<TokenStream> Macro_Invoke(const TokenStream& lex, const ::std::string& name, TokenTree input);
#endif // MACROS_HPP_INCLUDED