aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-05-23 09:23:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-05-29 10:21:12 +0200
commite05f7c7383cc48823bd408c0bc5187191a9a1c48 (patch)
tree024bb9c3be9c876b8822388baf1622cad03d7563 /libbuild2/parser.cxx
parent349b34108752e2fcf1ead648ffec8e5acfe4a91c (diff)
Explicit group: static members
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index a00f6a5..45c56af 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -1267,6 +1267,9 @@ namespace build2
// rule for an explicit group that wishes to match based on some of
// its members feels far fetched.
//
+ // @@ TODO: expl: this can be used to inject static members (which
+ // otherwise would be tedious to repeat).
+ //
const location& mloc (gns.empty () ? location () : gns[0].member_loc);
if (!gns.empty () && gns[0].expl)