From 224e65cf0e6771cb0895af7fa2b1da162050a06d Mon Sep 17 00:00:00 2001 From: John Hodge Date: Wed, 9 Mar 2016 20:49:06 +0800 Subject: Expand - Recurse into expressions --- src/parse/root.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/parse/root.cpp') 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) -- cgit v1.2.3