From 276a0796a97b0a312c0071bba0bf924b5f5c6eee Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 31 Mar 2015 06:36:46 +0200 Subject: Rename root_scope to global_scope To avoid confusion with project's root scopes. --- build/context.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'build/context.cxx') 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 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 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 -- cgit v1.1