From 962f83b1e551cc683f1052d32cb79b969e65af5f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Mar 2020 08:57:29 +0200 Subject: Rename all find*(variable) to lookup*(variable) Now we consistently use term "lookup" for variable value lookup. At some point we should also rename type lookup to binding and get rid of all the lookup_type aliases. --- libbuild2/parser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/parser.cxx') 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 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) -- cgit v1.1