diff options
author | John Hodge <tpg@mutabah.net> | 2016-03-16 22:45:01 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-03-16 22:45:01 +0800 |
commit | eba015ba443d72d49e6b3ddcb29a7f3d1efe799a (patch) | |
tree | a80f76e723101230863c238d0c3c6c5fb4619e8d /src/expand/mod.cpp | |
parent | a3d37e1f829fc974238815a9d9d468c9087048b4 (diff) | |
download | mrust-eba015ba443d72d49e6b3ddcb29a7f3d1efe799a.tar.gz |
Expand - Handle AST::TupleItem attributes
Diffstat (limited to 'src/expand/mod.cpp')
-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 d7a142e9..f1bea16c 100644 --- a/src/expand/mod.cpp +++ b/src/expand/mod.cpp @@ -500,9 +500,9 @@ void Expand_Mod(bool is_early, ::AST::Crate& crate, LList<const AST::Module*> mo (Tuple, for(auto it = sd.ents.begin(); it != sd.ents.end(); ) { auto& si = *it; - //Expand_Attrs(si.m_attrs, stage_pre (is_early), [&](const auto& d, const auto& a){ d.handle(a, crate, si); }); + Expand_Attrs(si.m_attrs, stage_pre (is_early), [&](const auto& d, const auto& a){ d.handle(a, crate, si); }); Expand_Type(is_early, crate, modstack, mod, si.m_type); - //Expand_Attrs(si.m_attrs, stage_post(is_early), [&](const auto& d, const auto& a){ d.handle(a, crate, si); }); + Expand_Attrs(si.m_attrs, stage_post(is_early), [&](const auto& d, const auto& a){ d.handle(a, crate, si); }); if( ! si.m_type.is_valid() ) it = sd.ents.erase(it); |