aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/token.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-25 11:19:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-28 10:10:44 +0200
commit6b3e75edf034ebcbd048a24c283c7bcf7b1da019 (patch)
tree4dff34692fd09c6f201a486c0d92549adc864947 /libbuild2/token.hxx
parentbb02e152dc036879ab0b2d1d8aa2cb19084b8e16 (diff)
Add support for regex-based target type/pattern specific variables
This is in addition to the already supported path-based target type/pattern specific variables. For example: hxx{*}: x = y # path-based hxx{~/.*/}: x = y # regex-based
Diffstat (limited to 'libbuild2/token.hxx')
-rw-r--r--libbuild2/token.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/token.hxx b/libbuild2/token.hxx
index faae466..fca888c 100644
--- a/libbuild2/token.hxx
+++ b/libbuild2/token.hxx
@@ -120,7 +120,8 @@ namespace build2
// Quoting can be complete, where the token starts and ends with the quote
// characters and quoting is contiguous or partial where only some part(s)
// of the token are quoted or quoting continues to the next token. We also
- // keep track whether the first character of a token is quoted.
+ // keep track whether the first character of a token is quoted (we also
+ // treat escaped first character as quoted).
//
quote_type qtype;
bool qcomp;