From 960b9a32557ad054707cc1540441057808db2d8f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 23 Aug 2016 06:27:54 +0200 Subject: Rename cc.{vars,config} modules to cc.core.{vars,config} We are going to use cc.config for something else. --- build2/cc/init.cxx | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'build2/cc/init.cxx') diff --git a/build2/cc/init.cxx b/build2/cc/init.cxx index 5f8e2fb..63341d5 100644 --- a/build2/cc/init.cxx +++ b/build2/cc/init.cxx @@ -22,15 +22,15 @@ namespace build2 namespace cc { bool - vars_init (scope& r, - scope&, - const location&, - unique_ptr&, - bool first, - bool, - const variable_map&) + core_vars_init (scope& r, + scope&, + const location&, + unique_ptr&, + bool first, + bool, + const variable_map&) { - tracer trace ("cc::vars_init"); + tracer trace ("cc::core_vars_init"); l5 ([&]{trace << "for " << r.out_path ();}); assert (first); @@ -64,23 +64,23 @@ namespace build2 } bool - config_init (scope& r, - scope& b, - const location& loc, - unique_ptr&, - bool first, - bool, - const variable_map& hints) + core_config_init (scope& r, + scope& b, + const location& loc, + unique_ptr&, + bool first, + bool, + const variable_map& hints) { - tracer trace ("cc::config_init"); + tracer trace ("cc::core_config_init"); l5 ([&]{trace << "for " << b.out_path ();}); - // Load cc.vars. + // Load cc.core.vars. // if (first) { - if (!cast_false (b["cc.vars.loaded"])) - load_module ("cc.vars", r, b, loc); + if (!cast_false (b["cc.core.vars.loaded"])) + load_module ("cc.core.vars", r, b, loc); } // Configure. @@ -236,10 +236,10 @@ namespace build2 tracer trace ("cc::core_init"); l5 ([&]{trace << "for " << b.out_path ();}); - // Load cc.config. + // Load cc.core.config. // - if (!cast_false (b["cc.config.loaded"])) - load_module ("cc.config", r, b, loc, false, hints); + if (!cast_false (b["cc.core.config.loaded"])) + load_module ("cc.core.config", r, b, loc, false, hints); // Load the bin module. // -- cgit v1.1