From edbb2e3156714887b2334e5b6748f463e2d35ba3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 1 Jun 2020 09:15:11 +0200 Subject: Extend target metadata to include variable prefix, stable name --- libbuild2/variable.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/variable.cxx') 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:: 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 -- cgit v1.1