diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-15 17:57:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:21 +0200 |
commit | f5090740dcb36067707ff40e0d41cdbeef15e63e (patch) | |
tree | 38529704fcc11544ea3c8f64c1f2d86323692d04 /build2/algorithm | |
parent | 32e60fc5d4e771c5776ddb6715db10e5de182f28 (diff) |
Add support for skipping rule in delegate_match()
Diffstat (limited to 'build2/algorithm')
-rw-r--r-- | build2/algorithm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/build2/algorithm b/build2/algorithm index db2ccca..4c12148 100644 --- a/build2/algorithm +++ b/build2/algorithm @@ -87,13 +87,14 @@ namespace build2 void match_only (action, target&); - // Match a "delegate rule" from withing another rules' apply() - // function. Return recipe and recipe action (if any). Note - // that unlike match(), this call doesn't increment the - // dependents count. See also the companion execute_delegate(). + // Match a "delegate rule" from withing another rules' apply() function + // skipping recursive matches (thus the third argument). Return recipe and + // recipe action (if any). Note that unlike match(), this call doesn't + // increment the dependents count. See also the companion + // execute_delegate(). // pair<recipe, action> - match_delegate (action, target&); + match_delegate (action, target&, const rule&); // The standard prerequisite search and match implementations. They call // search_and_match_*() versions below passing non-empty directory for |