aboutsummaryrefslogtreecommitdiff
path: root/build/scope
diff options
context:
space:
mode:
Diffstat (limited to 'build/scope')
-rw-r--r--build/scope14
1 files changed, 14 insertions, 0 deletions
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<const value>
+ lookup (const target_type& tt,
+ const string& name,
+ const variable& var) const
+ {
+ return lookup (&tt, &name, var);
+ }
+
+ build::lookup<const value>
+ lookup (const target_type& tt, const string& name, const string& var) const
+ {
+ return lookup (tt, name, var_pool.find (var));
+ }
+
+ build::lookup<const value>
lookup (const target_type*, const string* name, const variable&) const;
// Return a value suitable for assignment (or append if you only