aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-20 15:59:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-28 10:10:44 +0200
commit7d0cbd244d218bca8b806c283a5ae095f221b324 (patch)
tree4f6ca70bcc25cec76b5fd32555e4dfb23dda6692 /libbuild2/scope.hxx
parentff428efce81c7632724fd24028430523bb1e8fce (diff)
Make notion of name pattern explicit, fix various related loose ends
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
{