From e05f7c7383cc48823bd408c0bc5187191a9a1c48 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 23 May 2023 09:23:16 +0200 Subject: Explicit group: static members --- libbuild2/parser.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/parser.cxx') 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) -- cgit v1.1