From 7d0cbd244d218bca8b806c283a5ae095f221b324 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 May 2021 15:59:59 +0200 Subject: Make notion of name pattern explicit, fix various related loose ends --- libbuild2/scope.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbuild2/scope.hxx') 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 { -- cgit v1.1