aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r--libbuild2/scope.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx
index f78a565..5a853d9 100644
--- a/libbuild2/scope.hxx
+++ b/libbuild2/scope.hxx
@@ -132,9 +132,13 @@ namespace build2
lookup_type
lookup (const variable& var, const target_key& tk) const
{
+ //@@ TODO: dir name
return lookup (var, tk.type, tk.name).first;
}
+ // Note for dir{} and fsdir{} target name is the directory leaf (without
+ // the trailing slash).
+ //
lookup_type
lookup (const variable& var, const target_type& tt, const string& tn) const
{