From 726aaab07a785b904dd1265bffa603bdd2a7665b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 May 2021 10:50:28 +0200 Subject: Tie loose ends in target type/pattern-specific matching --- libbuild2/target.txx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/target.txx') diff --git a/libbuild2/target.txx b/libbuild2/target.txx index fb9fe9c..c34adde 100644 --- a/libbuild2/target.txx +++ b/libbuild2/target.txx @@ -94,6 +94,9 @@ namespace build2 { // Include target type/pattern-specific variables. // + // Note that we know this is not dir{} or fsdir{} and that the extension + // is not part of the match (see variable_type_map::find() for details). + // if (auto l = s.lookup (*s.ctx.var_extension, tt, tn)) { // Help the user here and strip leading '.' from the extension. -- cgit v1.1