diff options
author | John Hodge <tpg@mutabah.net> | 2016-02-27 10:33:32 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-02-27 10:33:32 +0800 |
commit | 17e5826ab60596e38506222f00593245e155c6ed (patch) | |
tree | bdb0db6d0a042c11f9afb8830e79572fba2c7e12 /src/parse/expr.cpp | |
parent | d5862368521b8249d997a7def37fed08ff55d8f4 (diff) | |
download | mrust-17e5826ab60596e38506222f00593245e155c6ed.tar.gz |
Parse/expr - Handle inline modules
Diffstat (limited to 'src/parse/expr.cpp')
-rw-r--r-- | src/parse/expr.cpp | 1 |
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));
|