aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/adhoc-rule-buildscript.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-10-20 15:16:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-10-20 15:16:28 +0200
commit51666badaa58d1cc70a05b362dbf9fbef64a7296 (patch)
tree2919f013c9c1c12c7d31ee0b60eb0fbcb4130558 /libbuild2/adhoc-rule-buildscript.cxx
parentecc0f934eff0443490202b614a73097e75b1e3db (diff)
Add operation callback for adhoc rule match and apply
Diffstat (limited to 'libbuild2/adhoc-rule-buildscript.cxx')
-rw-r--r--libbuild2/adhoc-rule-buildscript.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx
index c68f4b2..ed53c95 100644
--- a/libbuild2/adhoc-rule-buildscript.cxx
+++ b/libbuild2/adhoc-rule-buildscript.cxx
@@ -99,7 +99,8 @@ namespace build2
}
bool adhoc_buildscript_rule::
- match (action a, target& t, const string&, optional<action> fb) const
+ match (action a, target& t, const string&, match_extra&,
+ optional<action> fb) const
{
if (!fb)
;
@@ -122,7 +123,7 @@ namespace build2
}
recipe adhoc_buildscript_rule::
- apply (action a, target& t) const
+ apply (action a, target& t, match_extra&) const
{
// If this is an outer operation (e.g., update-for-test), then delegate to
// the inner.