diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-22 22:39:26 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-22 22:39:26 +0800 |
commit | 1f9a4180a3b54f85f37919ba4ca709f8e8250bb6 (patch) | |
tree | c00cef798d26bf5f68f1657b01a490533365f015 /src/expand/macro_rules.hpp | |
parent | eba9d8f840a5b81f0188d109e63631c9a34c28e9 (diff) | |
download | mrust-1f9a4180a3b54f85f37919ba4ca709f8e8250bb6.tar.gz |
macro_rules - Rework pattern matching to not use try-catch
Diffstat (limited to 'src/expand/macro_rules.hpp')
-rw-r--r-- | src/expand/macro_rules.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/macro_rules.hpp b/src/expand/macro_rules.hpp index b4e6e1e0..fc4a2851 100644 --- a/src/expand/macro_rules.hpp +++ b/src/expand/macro_rules.hpp @@ -4,7 +4,6 @@ #pragma once #include <synext.hpp> -#include "../macros.hpp" namespace AST { class Expr; @@ -12,5 +11,6 @@ namespace AST { } class TokenTree; class TokenStream; +class MacroRules; extern ::std::unique_ptr<TokenStream> Macro_Invoke(const char* name, const MacroRules& rules, const TokenTree& tt, AST::Module& mod); |