diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-01 14:22:52 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-01 14:22:52 +0800 |
commit | 258f1d3894a8261e2bf3d6528093c152ad53c4b0 (patch) | |
tree | 1737be382ecfed4e782d27897055633789d4939a /src/expand | |
parent | b613f53aecc651ca36b550345175554d2d2def8d (diff) | |
download | mrust-258f1d3894a8261e2bf3d6528093c152ad53c4b0.tar.gz |
AST - Remove Expr from patterns (replace with local Value type)
Diffstat (limited to 'src/expand')
-rw-r--r-- | src/expand/mod.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp index bbe4db85..2f4fe0be 100644 --- a/src/expand/mod.cpp +++ b/src/expand/mod.cpp @@ -150,8 +150,8 @@ void Expand_Pattern(bool is_early, ::AST::Crate& crate, LList<const AST::Module* Expand_Pattern(is_early, crate, modstack, mod, *e.sub); ), (Value, - Expand_Expr(is_early, crate, modstack, e.start); - Expand_Expr(is_early, crate, modstack, e.end); + //Expand_Expr(is_early, crate, modstack, e.start); + //Expand_Expr(is_early, crate, modstack, e.end); ), (Tuple, for(auto& sp : e.sub_patterns) |