diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-27 17:35:15 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-27 17:35:15 +0800 |
commit | e7740504c34db46bd25c3e90e87f9dd5849eff13 (patch) | |
tree | 31143bf4fea883362a911f3f8700d0787c67c087 /src/macro_rules/mod.cpp | |
parent | 1f7a1ee2b3a70a77669af4f854b4ef5e50363f02 (diff) | |
download | mrust-e7740504c34db46bd25c3e90e87f9dd5849eff13.tar.gz |
macro_rules - Allow { to start an expression
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 56f75bde..25883c36 100644 --- a/src/macro_rules/mod.cpp +++ b/src/macro_rules/mod.cpp @@ -85,6 +85,7 @@ bool is_token_expr(eTokenType tt) { case TOK_RWORD_CONTINUE:
// Blocks
+ case TOK_BRACE_OPEN:
case TOK_RWORD_IF:
case TOK_RWORD_FOR:
case TOK_RWORD_WHILE:
|