diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-14 09:56:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-14 14:53:51 +0200 |
commit | 8a7b3bb944ca08d240fc778a9269c6db0f9746f8 (patch) | |
tree | 750e1ae74d9fdd3989871f92b71df4b0feb3b3f1 /build2/algorithm.cxx | |
parent | cc2b346d96bc2877efc9719507ceaa4fefbc9668 (diff) |
Modify library mate-information protocol not to use lib{} group
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r-- | build2/algorithm.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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<const rule*, match_result> 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, |