aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-20 11:44:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-20 11:44:25 +0200
commit029efd1ea916167e28b323bb310fb662d24b5caa (patch)
tree6869e339b18f865baceaab89b810525e533fdc9a
parent78854e832f84d58236ca1009338a62640cd5a543 (diff)
Add more comments to meta/operation loop
-rw-r--r--build2/b.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index ca8c15b..e576435 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -935,7 +935,7 @@ main (int argc, char* argv[])
ts.root_scope = &rs;
ts.out_base = move (out_base);
ts.buildfile = move (bf);
- }
+ } // target
// If this operation has been lifted, break out.
//
@@ -945,7 +945,7 @@ main (int argc, char* argv[])
break;
}
- // Now load/search/match the targets.
+ // Now load the buildfiles and search the targets.
//
action_targets tgs;
tgs.reserve (os.size ());
@@ -995,9 +995,9 @@ main (int argc, char* argv[])
mif->search (rs, target_key {ti, &d, &out, &tn.value, e}, l, tgs);
}
- }
+ } // target
- // Finally perform the operation.
+ // Finally, match the rules and perform the operation.
//
if (pre_oid != 0)
{
@@ -1058,7 +1058,7 @@ main (int argc, char* argv[])
l5 ([&]{trace << "end operation batch " << oif->name
<< ", id " << static_cast<uint16_t> (oid);});
- }
+ } // operation
if (mid != 0)
{
@@ -1071,7 +1071,7 @@ main (int argc, char* argv[])
if (lifted == nullptr && skip == 0)
++mit;
- }
+ } // meta-operation
// Shutdown the scheduler.
//