From e63b427c51e37135e50dec9435659d661872fe95 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 1 May 2020 08:08:46 +0200 Subject: WIP --- libbuild2/algorithm.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbuild2/algorithm.cxx') diff --git a/libbuild2/algorithm.cxx b/libbuild2/algorithm.cxx index 9b2162e..b4ff22a 100644 --- a/libbuild2/algorithm.cxx +++ b/libbuild2/algorithm.cxx @@ -341,6 +341,10 @@ namespace build2 // it can distinguish between a pre/post operation (Y-for-X) and the // actual operation (X). // + // If you are then wondering how would a rule for Y ever match in case of + // Y-for-X, the answer is via a rule that matches for X and then, in case + // of Y-for-X, matches an inner rule for just Y (see match_inner()). + // meta_operation_id mo (a.meta_operation ()); operation_id o (a.inner () ? a.operation () : a.outer_operation ()); -- cgit v1.1