aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-11-07 07:21:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-11-07 07:21:06 +0200
commit98c7247ff06decba8130e8aea67ea839d084d2dd (patch)
treefea6d2a7f5172c78992ccada6229db86cc1e10b2 /libbuild2/target.hxx
parenta8ff78d8b90d6f7a45c9586449986dadb65809c8 (diff)
Account for match options re-locking when checking if target is matched
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index c61f241..76b7158 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -249,6 +249,8 @@ namespace build2
// - match to resolve members (resolve_members())
// - match of ad hoc group via one of its ad hoc members
//
+ // Note that the 0 cur_options value is illegal.
+ //
// When it comes to match options specified for group members, the
// semantics differs between explicit and ad hoc groups. For explicit
// groups, the standard semantics described above applies and the group's