From 34e19551c1db1d8f0be3a41735506d6ce04b70e1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 21 Apr 2016 17:12:22 +0200 Subject: Move target state reset back to recipe() Doing it in target::reset() (which is called by match()) didn't play well with delegated recipes. --- build2/algorithm.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/algorithm.cxx') diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx index 1b19fe5..a22837f 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -449,8 +449,9 @@ namespace build2 } target_state - noop_action (action, target&) + noop_action (action a, target& t) { + text << "noop action triggered for " << diag_doing (a, t); assert (false); // We shouldn't be called, see target::recipe(). return target_state::unchanged; } -- cgit v1.1