aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r--libbuild2/file.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index 7903918..fb5b68a 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -547,7 +547,7 @@ namespace build2
temp_scope tmp (ctx.global_scope.rw ());
p.parse_variable (l, tmp, var, tt);
- value* v (tmp.vars.find_to_modify (var).first);
+ value* v (tmp.vars.lookup_to_modify (var).first);
assert (v != nullptr);
// Steal the value, the scope is going away.