aboutsummaryrefslogtreecommitdiff
path: root/build/b.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-13 14:48:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-13 14:48:41 +0200
commit9fa5209175dffb881e8ec6c5f6ad4fc54448244a (patch)
treeb937763e9605832f9cac87b846a2996c8727af12 /build/b.cxx
parent467d700c66582471013a07384318d0142d2f3de2 (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/b.cxx')
-rw-r--r--build/b.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/b.cxx b/build/b.cxx
index fea5690..5500c9e 100644
--- a/build/b.cxx
+++ b/build/b.cxx
@@ -744,6 +744,7 @@ main (int argc, char* argv[])
current_inner_oif = pre_oif;
current_outer_oif = oif;
current_mode = pre_oif->mode;
+ dependency_count = 0;
action a (mid, pre_oid, oid);
@@ -760,6 +761,7 @@ main (int argc, char* argv[])
current_inner_oif = oif;
current_outer_oif = nullptr;
current_mode = oif->mode;
+ dependency_count = 0;
action a (mid, oid, 0);
@@ -777,6 +779,7 @@ main (int argc, char* argv[])
current_inner_oif = post_oif;
current_outer_oif = oif;
current_mode = post_oif->mode;
+ dependency_count = 0;
action a (mid, post_oid, oid);