aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.txx')
-rw-r--r--libbuild2/target.txx3
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.