diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-29 22:30:28 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-29 22:30:28 +0800 |
commit | 7890a6dba8fcdb9454b2e58ea1363f270d2da2c5 (patch) | |
tree | fa51d39712f552c78b390d61d19793c737d5238a /src/expand/mod.cpp | |
parent | 73bcd2fb0bda8f939a6c1385b419a67ad8eeef2c (diff) | |
download | mrust-7890a6dba8fcdb9454b2e58ea1363f270d2da2c5.tar.gz |
Parse/AST/HIR - Support Enum::Var(..) and Struct { .. } patters properly
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r-- | src/expand/mod.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp index c46c7d84..62425f86 100644 --- a/src/expand/mod.cpp +++ b/src/expand/mod.cpp @@ -161,6 +161,8 @@ void Expand_Pattern(bool is_early, ::AST::Crate& crate, LList<const AST::Module* for(auto& sp : e.sub_patterns) Expand_Pattern(is_early, crate, modstack, mod, sp); ), + (WildcardStructTuple, + ), (StructTuple, for(auto& sp : e.sub_patterns) Expand_Pattern(is_early, crate, modstack, mod, sp); |