From 41d3540e97b87fabc58af6226e6b7784767bc047 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 3 Dec 2015 19:15:58 +0200 Subject: Fix reverse lookup of extension to target type in C++ dep extraction --- build/scope | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'build/scope') diff --git a/build/scope b/build/scope index e52f615..551ce9d 100644 --- a/build/scope +++ b/build/scope @@ -102,6 +102,20 @@ namespace build } build::lookup + lookup (const target_type& tt, + const string& name, + const variable& var) const + { + return lookup (&tt, &name, var); + } + + build::lookup + lookup (const target_type& tt, const string& name, const string& var) const + { + return lookup (tt, name, var_pool.find (var)); + } + + build::lookup lookup (const target_type*, const string* name, const variable&) const; // Return a value suitable for assignment (or append if you only -- cgit v1.1