diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-13 14:48:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-13 14:48:41 +0200 |
commit | 9fa5209175dffb881e8ec6c5f6ad4fc54448244a (patch) | |
tree | b937763e9605832f9cac87b846a2996c8727af12 /build/test | |
parent | 467d700c66582471013a07384318d0142d2f3de2 (diff) |
Rework postponed logic
Specifically, now postponed is only used by the execution mode logic
and rules should not return it directly.
Diffstat (limited to 'build/test')
-rw-r--r-- | build/test/rule.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
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; |