aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-12-14 08:33:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-12-14 08:33:51 +0200
commit89aaf4d9eb26564b88c1ff400a12277e5ee45c1a (patch)
tree808e3a7e0416860b96e2e2be9380303c4c2566e4 /libbuild2/cc
parent87a8357fe797fd2e2a07c8bfa22353d63b3f8b6c (diff)
Clarify comment
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/compile-rule.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx
index 84151d4..5b6c473 100644
--- a/libbuild2/cc/compile-rule.cxx
+++ b/libbuild2/cc/compile-rule.cxx
@@ -3578,9 +3578,8 @@ namespace build2
// since been removed (think of a header in /usr/local/include that
// has been uninstalled and now we need to use one from
// /usr/include). This will lead to the match failure which we
- // translate to a restart.
- //
- // @@ Won't this fail in enter_header() rather?
+ // translate to a restart. And, yes, this case will trip up
+ // inject_header(), not enter_header().
//
if (optional<bool> u = inject_header (a, t, *ht, mt, false /*fail*/))
{