diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-15 11:13:39 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-15 11:13:39 +0800 |
commit | 7c74d6a7c03af83de0c41260c81460cfe447f8cf (patch) | |
tree | 8ac7a7d85faf5b9266149bace1c070df0f6aefec /src/macro_rules/mod.cpp | |
parent | 090e92744a921730197a57e55f5697ac8ad1d986 (diff) | |
download | mrust-7c74d6a7c03af83de0c41260c81460cfe447f8cf.tar.gz |
macro_rules! - Allow match to start an expr
Diffstat (limited to 'src/macro_rules/mod.cpp')
-rw-r--r-- | src/macro_rules/mod.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macro_rules/mod.cpp b/src/macro_rules/mod.cpp index 8b2be7d1..0d542602 100644 --- a/src/macro_rules/mod.cpp +++ b/src/macro_rules/mod.cpp @@ -86,6 +86,7 @@ bool is_token_expr(eTokenType tt) { // Blocks
case TOK_BRACE_OPEN:
+ case TOK_RWORD_MATCH:
case TOK_RWORD_IF:
case TOK_RWORD_FOR:
case TOK_RWORD_WHILE:
|