aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-15 16:18:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-15 16:18:08 +0200
commit678345c5a96f14d05a56bce8a68bdd45dfe1d172 (patch)
tree29472f6a24019bf71f26b0e55fa2a47c4fbed063 /libbuild2/parser.cxx
parent497793c854b9dfbf70c2c23813b6b7f06012bcc2 (diff)
Test and document wildcard character escaping
Also document the new bracket expression ([...]) wildcard support.
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index 26df3fa..f79f80e 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -3612,7 +3612,7 @@ namespace build2
tt == type::lparen ||
tt == type::lcbrace))
fail (t) << "whitespace required after attributes" <<
- info << "add an empty attribute list if this is a wildcard pattern";
+ info << "use the '\\[' escape sequence if this is a wildcard pattern";
return make_pair (has, l);
}