aboutsummaryrefslogtreecommitdiff
path: root/build/parser.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/parser.cxx
parent618c44ec5e85f7d07540234a0de9fac6e2913243 (diff)
Rename root_scope to global_scope
To avoid confusion with project's root scopes.
Diffstat (limited to 'build/parser.cxx')
-rw-r--r--build/parser.cxx4
1 files changed, 2 insertions, 2 deletions
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}).