aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.cxx
diff options
context:
space:
mode:
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: