From 9fa5209175dffb881e8ec6c5f6ad4fc54448244a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 13 Aug 2015 14:48:41 +0200 Subject: Rework postponed logic Specifically, now postponed is only used by the execution mode logic and rules should not return it directly. --- build/test/rule.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build/test') diff --git a/build/test/rule.cxx b/build/test/rule.cxx index 6e82d8d..30de93c 100644 --- a/build/test/rule.cxx +++ b/build/test/rule.cxx @@ -210,7 +210,10 @@ namespace build build::match (a, *it); if (it->state () == target_state::unchanged) + { + unmatch (a, *it); it = nullptr; + } } if (ot != nullptr && in == on) @@ -218,7 +221,10 @@ namespace build build::match (a, *ot); if (ot->state () == target_state::unchanged) + { + unmatch (a, *ot); ot = nullptr; + } } else ot = it; -- cgit v1.1