aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.cxx
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/target.cxx
parentff428efce81c7632724fd24028430523bb1e8fce (diff)
Make notion of name pattern explicit, fix various related loose ends
Diffstat (limited to 'libbuild2/target.cxx')
-rw-r--r--libbuild2/target.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx
index fec522c..a5061e3 100644
--- a/libbuild2/target.cxx
+++ b/libbuild2/target.cxx
@@ -176,12 +176,13 @@ namespace build2
}
}
- // Delegate to scope's find_original().
+ // Delegate to scope's lookup_original().
//
if (!r.first)
{
if (!target_only)
{
+ //@@ TODO: dir name
auto p (base_scope ().lookup_original (
var,
&type (),
@@ -232,7 +233,7 @@ namespace build2
r.first = lookup_type (*p.first, p.second, vars);
}
- // Delegate to target's find_original().
+ // Delegate to target's lookup_original().
//
if (!r.first)
{