From 8150086c0ef168f48193ddc03b8c75e96e96d581 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 9 Aug 2018 12:47:27 +0200 Subject: Add support for name patterns without wildcard characters In particular, this allows the "if-exists" specification of prerequisites, for example: for t: $tests exe{$t}: cxx{$t} test{+$t} --- build2/parser.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/parser.hxx') diff --git a/build2/parser.hxx b/build2/parser.hxx index acd0845..dfb4c6b 100644 --- a/build2/parser.hxx +++ b/build2/parser.hxx @@ -310,7 +310,8 @@ namespace build2 const optional& prj = nullopt, const dir_path* dir = nullptr, const string* type = nullptr, - bool cross = true); + bool cross = true, + bool curly = false); size_t parse_names_trailer (token&, token_type&, -- cgit v1.1