From 89aaf4d9eb26564b88c1ff400a12277e5ee45c1a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 14 Dec 2021 08:33:51 +0200 Subject: Clarify comment --- libbuild2/cc/compile-rule.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libbuild2/cc/compile-rule.cxx') 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 u = inject_header (a, t, *ht, mt, false /*fail*/)) { -- cgit v1.1