aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-03-30 15:30:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-03-31 07:32:46 +0200
commitdfb51bc816cde2cb345f8a0300205e6ac95a2065 (patch)
treead5996b87bb3829f7058aa990fab65940b575249 /libbuild2/scope.cxx
parent65340a0a897c91b580db1de0bab026a0814c5d74 (diff)
Switch to project variable visibility by default
Diffstat (limited to 'libbuild2/scope.cxx')
-rw-r--r--libbuild2/scope.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/scope.cxx b/libbuild2/scope.cxx
index d18c4eb..842b839 100644
--- a/libbuild2/scope.cxx
+++ b/libbuild2/scope.cxx
@@ -164,7 +164,7 @@ namespace build2
case variable_visibility::project:
s = s->root () ? nullptr : s->parent_scope ();
break;
- case variable_visibility::normal:
+ case variable_visibility::global:
s = s->parent_scope ();
break;
case variable_visibility::prereq:
@@ -259,7 +259,7 @@ namespace build2
break;
}
- case variable_visibility::normal:
+ case variable_visibility::global:
break;
case variable_visibility::target:
case variable_visibility::prereq: