aboutsummaryrefslogtreecommitdiff
path: root/build/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-21 18:20:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-22 12:26:34 +0200
commit34e5a2da18f76c7d7de79a5c12b0e85ee89c4095 (patch)
tree3e825e3883bc1ed083b0c33afa30c74c95dbef1e /build/operation.cxx
parenta1cec9e0df14f3c1a833e2a447b5324ff9c430d3 (diff)
Fix postponed re-examination logic
Now postponed takes precedence over changed.
Diffstat (limited to 'build/operation.cxx')
-rw-r--r--build/operation.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/operation.cxx b/build/operation.cxx
index cff0802..61111fe 100644
--- a/build/operation.cxx
+++ b/build/operation.cxx
@@ -131,7 +131,6 @@ namespace build
{
case target_state::postponed:
{
- info << diag_doing (a, t) << " is postponed";
psp.push_back (t);
break;
}
@@ -163,7 +162,7 @@ namespace build
for (target& t: psp)
{
if (t.state () == target_state::postponed)
- execute_direct (a, t); // Try again, now ignoring the execution mode.
+ execute (a, t); // Re-examine the state.
switch (t.state ())
{