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/context.cxx | |
parent | 618c44ec5e85f7d07540234a0de9fac6e2913243 (diff) |
Rename root_scope to global_scope
To avoid confusion with project's root scopes.
Diffstat (limited to 'build/context.cxx')
-rw-r--r-- | build/context.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/build/context.cxx b/build/context.cxx index 872a428..69b10d7 100644 --- a/build/context.cxx +++ b/build/context.cxx @@ -28,18 +28,18 @@ namespace build scopes.clear (); variable_pool.clear (); - // Create root scope. For Win32 we use the empty path since there - // is no such "real" root path. On POSIX, however, this is a real - // path. See the comment in <build/path-map> for details. + // Create global scope. For Win32 we use the empty path since there + // is no "real" root path. On POSIX, however, this is a real path. + // See the comment in <build/path-map> for details. // #ifdef _WIN32 - root_scope = &scopes[path ()]; + global_scope = &scopes[path ()]; #else - root_scope = &scopes[path ("/")]; + global_scope = &scopes[path ("/")]; #endif - root_scope->variables["work"] = work; - root_scope->variables["home"] = home; + global_scope->variables["work"] = work; + global_scope->variables["home"] = home; } mkdir_status |