aboutsummaryrefslogtreecommitdiff
path: root/build2/test/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/rule.cxx')
-rw-r--r--build2/test/rule.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index ccf52e0..8a4c15d 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -139,6 +139,8 @@ namespace build2
//
scope& bs (t.base_scope ());
+ // @@ OUT: what if this is a @-qualified pair or names?
+ //
target* it (in != nullptr ? &search (*in, bs) : nullptr);
target* ot (on != nullptr ? in == on ? it : &search (*on, bs) : nullptr);