diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-31 06:36:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-31 06:36:46 +0200 |
commit | 276a0796a97b0a312c0071bba0bf924b5f5c6eee (patch) | |
tree | ca876a7af9a63250b85efb973acc72b30c67143a /build/scope | |
parent | 618c44ec5e85f7d07540234a0de9fac6e2913243 (diff) |
Rename root_scope to global_scope
To avoid confusion with project's root scopes.
Diffstat (limited to 'build/scope')
-rw-r--r-- | build/scope | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/scope b/build/scope index 8471a2a..0fa3025 100644 --- a/build/scope +++ b/build/scope @@ -61,15 +61,15 @@ namespace build variable_map variables; prerequisite_set prerequisites; - // Meta/operations supported by this project (set on the project - // root scope only). + // Meta/operations supported by this project (set on the root + // scope only). // meta_operation_table meta_operations; operation_table operations; // Set of buildfiles already loaded for this scope. The included // buildfiles are checked against the project's root scope while - // imported -- against the overall root scope (root_scope). + // imported -- against the global scope (global_scope). // std::unordered_set<path_type> buildfiles; @@ -93,7 +93,7 @@ namespace build { public: // Note that we assume the first insertion into the map is that - // of the root scope. + // of the global scope. // std::pair<scope&, bool> insert (const path&); @@ -111,7 +111,7 @@ namespace build }; extern scope_map scopes; - extern scope* root_scope; + extern scope* global_scope; } #endif // BUILD_SCOPE |