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/parser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/parser.cxx') diff --git a/build/parser.cxx b/build/parser.cxx index e2b11f0..1347ebd 100644 --- a/build/parser.cxx +++ b/build/parser.cxx @@ -803,7 +803,7 @@ namespace build if (p == n) { // On Win32 translate the root path to the special empty path. - // Search for root_scope for details. + // Search for global_scope for details. // #ifdef _WIN32 path dir (name != "/" ? path (name) : path ()); @@ -1057,7 +1057,7 @@ namespace build lexer l (is, name); lexer_ = &l; - scope_ = root_ = root_scope; + scope_ = root_ = global_scope; // Turn on pairs recognition with '@' as the pair separator (e.g., // src_root/@out_root/exe{foo bar}). -- cgit v1.1