diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-20 15:59:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-28 10:10:44 +0200 |
commit | 7d0cbd244d218bca8b806c283a5ae095f221b324 (patch) | |
tree | 4f6ca70bcc25cec76b5fd32555e4dfb23dda6692 /libbuild2/scope.hxx | |
parent | ff428efce81c7632724fd24028430523bb1e8fce (diff) |
Make notion of name pattern explicit, fix various related loose ends
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r-- | libbuild2/scope.hxx | 4 |
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 { |