summaryrefslogtreecommitdiff
path: root/src/expand/mod.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2017-01-21 18:50:15 +0800
committerJohn Hodge <tpg@mutabah.net>2017-01-21 18:50:15 +0800
commitc579e11b9cf7b715932ca944bf372b8c062ecf6c (patch)
tree02e730201aabb6baff80e0ec8d602332f9447142 /src/expand/mod.cpp
parent51ca5eb417bfc375c359a16c392d6cd18ed963c4 (diff)
downloadmrust-c579e11b9cf7b715932ca944bf372b8c062ecf6c.tar.gz
Trans/Expand - #[main] attribute
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r--src/expand/mod.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp
index 3e67ed15..f152b1ab 100644
--- a/src/expand/mod.cpp
+++ b/src/expand/mod.cpp
@@ -1024,24 +1024,6 @@ void Expand(::AST::Crate& crate)
// Post-process
Expand_Mod_IndexAnon(crate, crate.m_root_module);
- #if 0
- for( auto& a : crate.m_attrs.m_items )
- {
- for( auto& d : g_decorators ) {
- if( d.first == a.name() && d.second->expand_before_macros() == false ) {
- //d.second->handle(a, crate, ::AST::Path(), crate.m_root_module, crate.m_root_module);
- }
- }
- }
- for( auto& a : crate.m_attrs.m_items )
- {
- for( auto& d : g_decorators ) {
- if( d.first == a.name() && d.second->expand_before_macros() == false ) {
- d.second->handle(a, crate);
- }
- }
- }
- #endif
}