From 51666badaa58d1cc70a05b362dbf9fbef64a7296 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Oct 2020 15:16:28 +0200 Subject: Add operation callback for adhoc rule match and apply --- libbuild2/adhoc-rule-buildscript.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libbuild2/adhoc-rule-buildscript.cxx') 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 fb) const + match (action a, target& t, const string&, match_extra&, + optional 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. -- cgit v1.1