summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-02-27 10:33:32 +0800
committerJohn Hodge <tpg@mutabah.net>2016-02-27 10:33:32 +0800
commit17e5826ab60596e38506222f00593245e155c6ed (patch)
treebdb0db6d0a042c11f9afb8830e79572fba2c7e12 /src/parse
parentd5862368521b8249d997a7def37fed08ff55d8f4 (diff)
downloadmrust-17e5826ab60596e38506222f00593245e155c6ed.tar.gz
Parse/expr - Handle inline modules
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/expr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/expr.cpp b/src/parse/expr.cpp
index 88e11262..f49d3305 100644
--- a/src/parse/expr.cpp
+++ b/src/parse/expr.cpp
@@ -91,6 +91,7 @@ ExprNodeP Parse_ExprBlockNode(TokenStream& lex)
case TOK_RWORD_TRAIT:
case TOK_RWORD_IMPL:
case TOK_RWORD_FN:
+ case TOK_RWORD_MOD:
lex.putback(tok);
keep_mod = true;
Parse_Mod_Item(lex, modstack, "!", *local_mod, false, mv$(item_attrs));