From 678345c5a96f14d05a56bce8a68bdd45dfe1d172 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Nov 2019 16:18:08 +0200 Subject: Test and document wildcard character escaping Also document the new bracket expression ([...]) wildcard support. --- libbuild2/parser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/parser.cxx') 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); } -- cgit v1.1