aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index d8660b2..8f45125 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -5748,11 +5748,11 @@ namespace build2
pair<lookup, size_t> r (p->vars[var], 1);
if (!r.first.defined ())
- r = t->find_original (var);
+ r = t->lookup_original (var);
return var.overrides == nullptr
? r.first
- : t->base_scope ().find_override (var, move (r), true).first;
+ : t->base_scope ().lookup_override (var, move (r), true).first;
}
if (t != nullptr)