aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-16 13:20:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:21 +0200
commitd27a6011a1768c7311ae6911c53dd49c293a24af (patch)
treed77f3aa1939d49d65e165189c8da76ab1a19f784
parentfa47916a51f530a4c728063f71b0e8d6da4dac0f (diff)
Add minor note
-rw-r--r--build2/test/rule.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index 455da7a..975d19f 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -44,6 +44,10 @@ namespace build2
// (and this is tricky) the rule also changes the operation to
// unconditional update to make sure it doesn't match any prerequisites
// (which, if not testable, it will noop).
+ //
+ // And to add a bit more complexity, we want to handle aliases slightly
+ // differently: we don't want to ignore their prerequisites if the alias
+ // is not testable since their prerequisites could be.
match_data md;