aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-01 10:49:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-01 10:49:09 +0200
commita2cad68fe340a66ad54b93f88e39f97898fc462e (patch)
treebe9033f82e650fe574d0149383121d700568247b /build2/algorithm.hxx
parenta84ff43b183181e0a12c6d5e31c1f366d39ce2fe (diff)
Reimplement pkg-config generation with more conservative approach for now
Diffstat (limited to 'build2/algorithm.hxx')
-rw-r--r--build2/algorithm.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/build2/algorithm.hxx b/build2/algorithm.hxx
index 931b396..76e9d76 100644
--- a/build2/algorithm.hxx
+++ b/build2/algorithm.hxx
@@ -208,13 +208,12 @@ namespace build2
match_recipe (target_lock&, recipe);
// Match a "delegate rule" from withing another rules' apply() function
- // avoiding recursive matches (thus the third argument). Return recipe and
- // recipe action (if any). Unless fail is false, fail if not rule is found.
- // Otherwise return empty recipe. Note that unlike match(), this function
- // does not increment the dependents count. See also the companion
- // execute_delegate().
+ // avoiding recursive matches (thus the third argument). Unless fail is
+ // false, fail if not rule is found. Otherwise return empty recipe. Note
+ // that unlike match(), this function does not increment the dependents
+ // count. See also the companion execute_delegate().
//
- pair<recipe, action>
+ recipe
match_delegate (action, target&, const rule&, bool fail = true);
// The standard prerequisite search and match implementations. They call