diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-24 10:50:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-28 10:10:44 +0200 |
commit | 726aaab07a785b904dd1265bffa603bdd2a7665b (patch) | |
tree | ec28756d501ef3411b02a10a24dde76535e6581c /libbuild2/target.txx | |
parent | e1f472e471533330db05a42d5bcd4e99b211da0c (diff) |
Tie loose ends in target type/pattern-specific matching
Diffstat (limited to 'libbuild2/target.txx')
-rw-r--r-- | libbuild2/target.txx | 3 |
1 files changed, 3 insertions, 0 deletions
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. |