From 8a7b3bb944ca08d240fc778a9269c6db0f9746f8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 14 Feb 2017 09:56:42 +0200 Subject: Modify library mate-information protocol not to use lib{} group --- build2/algorithm.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build2/algorithm.cxx') diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx index 0aad5b6..7239f3e 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -98,12 +98,12 @@ namespace build2 { pair r (nullptr, false); - // By default, clear the resolved targets list before calling - // match(). The rule is free to modify this list in match() - // (provided that it matches) in order to, for example, prepare - // it for apply(). + // Clear the resolved targets list before calling match(). The rule is + // free to modify this list in match() (provided that it matches) in order + // to, for example, prepare it for apply(). // - t.reset (a); + t.clear_data (); + t.prerequisite_targets.clear (); // If this is a nested operation, first try the outer operation. // This allows a rule to implement a "precise match", that is, -- cgit v1.1