aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-01 09:15:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-01 09:15:11 +0200
commitedbb2e3156714887b2334e5b6748f463e2d35ba3 (patch)
treee3bf7b21961ce01bde6d75b9507bc8a5c636e611 /libbuild2/variable.cxx
parent8a8628cc5ca1ba198e96d7808afc5875a5043bbc (diff)
Extend target metadata to include variable prefix, stable name
Diffstat (limited to 'libbuild2/variable.cxx')
-rw-r--r--libbuild2/variable.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx
index 206eb54..14803cb 100644
--- a/libbuild2/variable.cxx
+++ b/libbuild2/variable.cxx
@@ -485,6 +485,9 @@ namespace build2
uint64_t value_traits<uint64_t>::
convert (name&& n, name* r)
{
+ // Note: in some places we reply on this function not
+ // changing the passed name.
+ //
if (r == nullptr && n.simple ())
{
try