summaryrefslogtreecommitdiff
path: root/src/parse/root.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-03-09 20:49:06 +0800
committerJohn Hodge <tpg@mutabah.net>2016-03-09 20:49:06 +0800
commit224e65cf0e6771cb0895af7fa2b1da162050a06d (patch)
tree11039c391d75af4f9cc6db66645872edd22882a1 /src/parse/root.cpp
parentaeccbb23b717985e8719b3758e3cd28a0c0052f4 (diff)
downloadmrust-224e65cf0e6771cb0895af7fa2b1da162050a06d.tar.gz
Expand - Recurse into expressions
Diffstat (limited to 'src/parse/root.cpp')
-rw-r--r--src/parse/root.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/parse/root.cpp b/src/parse/root.cpp
index 1ba68aca..d5b8d561 100644
--- a/src/parse/root.cpp
+++ b/src/parse/root.cpp
@@ -1253,20 +1253,6 @@ void Parse_ExternCrate(TokenStream& lex, AST::Module& mod, AST::MetaItems meta_i
GET_CHECK_TOK(tok, lex, TOK_SEMICOLON);
mod.add_ext_crate(path, name, mv$(meta_items));
-
- // Handle #[macro_use]/#[macro_use(...)]
- //auto at = meta_items.get("macro_use");
- //if( at )
- //{
- // if( at->has_sub_items() )
- // {
- // throw ParseError::Todo("selective macro_use");
- // }
- // else
- // {
- // mod.add_macro_import(crate, name, "");
- // }
- //}
}
void Parse_Mod_Item(TokenStream& lex, bool file_controls_dir, const ::std::string& file_path, AST::Module& mod, bool is_public, AST::MetaItems meta_items)