aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-08 09:18:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-08 09:18:25 +0200
commit6883355bc8291d740e4c86c3e15b61f227977fd1 (patch)
tree99ac90a80845dc31a6d4d4f3bfd7462298664140 /build2/algorithm.cxx
parent968d8a7acd6c23078a3ea6936c03be0b45523227 (diff)
Update/cleanup comment documentation for inner/outer operation semantics
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 58ddb24..d39711b 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -222,10 +222,10 @@ namespace build2
const rule_match*
match_impl (action a, target& t, const rule* skip, bool try_match)
{
- // If this is an outer operation (Y_for_X), then we look for rules
+ // If this is an outer operation (Y-for-X), then we look for rules
// registered for the outer id (X). Note that we still pass the original
// action to the rule's match() function so that it can distinguish
- // between a pre/post operation (Y_for_X) and the actual operation (X).
+ // between a pre/post operation (Y-for-X) and the actual operation (X).
//
meta_operation_id mo (a.meta_operation ());
operation_id o (a.inner () ? a.operation () : a.outer_operation ());