aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/functions-name.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-05-27 22:21:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-06-03 10:51:46 +0300
commit4001ff053071c09008e88312c4f973c417322a07 (patch)
treea0b76f3680778709de80eb134e3458e74a22e68b /libbuild2/functions-name.cxx
parent987b9b881b93115ead849c087c0dc2e3f1532b1e (diff)
Fix function family for $target.path()
Diffstat (limited to 'libbuild2/functions-name.cxx')
-rw-r--r--libbuild2/functions-name.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/functions-name.cxx b/libbuild2/functions-name.cxx
index ca0f8ce..9b1a80b 100644
--- a/libbuild2/functions-name.cxx
+++ b/libbuild2/functions-name.cxx
@@ -111,7 +111,7 @@ namespace build2
//
function_family ft (m, "target");
- fn["path"] = [](const scope* s, names ns)
+ ft["path"] = [](const scope* s, names ns)
{
if (s == nullptr)
fail << "target.path() called out of scope";