aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-01-11 08:05:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-01-11 08:18:40 +0200
commit63ea58a2889cd54f32749abf2d10f9a5ea5640ad (patch)
treee0323de39f4f55f4eb542d3a5940fa7628003763 /libbuild2/scope.cxx
parentd853d416fd3ad00c283c54fd09a881dbb50e52f5 (diff)
Fix name recomposition bug in $name.filter*() functions
Diffstat (limited to 'libbuild2/scope.cxx')
-rw-r--r--libbuild2/scope.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/scope.cxx b/libbuild2/scope.cxx
index be2669d..c1c5ed7 100644
--- a/libbuild2/scope.cxx
+++ b/libbuild2/scope.cxx
@@ -685,6 +685,8 @@ namespace build2
pair<const target_type*, optional<string>> scope::
find_target_type (name& n, const location& loc, const target_type* tt) const
{
+ // NOTE: see also functions-name.cxx:filter() if changing anything here.
+
optional<string> ext;
string& v (n.value);