From 651ab293f3bfa117dae618edb9a4a9f328e07a91 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 18 Feb 2016 18:41:39 +1100 Subject: Random commit --- src/parse/root.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/parse') diff --git a/src/parse/root.cpp b/src/parse/root.cpp index f7d82987..5ba66dbc 100644 --- a/src/parse/root.cpp +++ b/src/parse/root.cpp @@ -1715,18 +1715,6 @@ AST::Crate Parse_Crate(::std::string mainfile) // TODO: } } - - if( crate.m_load_std ) - { - // Load the standard library (add 'extern crate std;') - crate.load_extern_crate("std"); - rootmod.add_ext_crate("std", "std"); - rootmod.add_macro_import(crate, "std", ""); - // Prelude imports are handled in Parse_ModRoot - } - - // Include the std if the 'no_std' attribute was absent - // - First need to load the std macros, then can import the prelude Parse_ModRoot(lex, crate, rootmod, NULL, mainpath); -- cgit v1.2.3