aboutsummaryrefslogtreecommitdiff
path: root/build/scope.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-31 06:36:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-31 06:36:46 +0200
commit276a0796a97b0a312c0071bba0bf924b5f5c6eee (patch)
treeca876a7af9a63250b85efb973acc72b30c67143a /build/scope.cxx
parent618c44ec5e85f7d07540234a0de9fac6e2913243 (diff)
Rename root_scope to global_scope
To avoid confusion with project's root scopes.
Diffstat (limited to 'build/scope.cxx')
-rw-r--r--build/scope.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/scope.cxx b/build/scope.cxx
index 60c83b4..f907163 100644
--- a/build/scope.cxx
+++ b/build/scope.cxx
@@ -33,7 +33,7 @@ namespace build
// scope_map
//
scope_map scopes;
- scope* root_scope;
+ scope* global_scope;
pair<scope&, bool> scope_map::
insert (const path& k)
@@ -46,7 +46,7 @@ namespace build
scope* p (nullptr);
// Update scopes of which we are a new parent (unless this is the
- // root scope).
+ // global scope).
//
if (size () > 1)
{
@@ -102,7 +102,7 @@ namespace build
if (i != end ())
return i->second;
- assert (!d.empty ()); // We should have the root scope.
+ assert (!d.empty ()); // We should have the global scope.
}
}
}