aboutsummaryrefslogtreecommitdiff
path: root/build2/parser.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-08-09 12:47:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-08-09 12:47:27 +0200
commit8150086c0ef168f48193ddc03b8c75e96e96d581 (patch)
tree9599cdd5f721a55841b2d9d2739f7d6ba5495070 /build2/parser.hxx
parent67b36b32e19e17db9b1e5c72deb8db7202a0f41b (diff)
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}
Diffstat (limited to 'build2/parser.hxx')
-rw-r--r--build2/parser.hxx3
1 files changed, 2 insertions, 1 deletions
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<project_name>& 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&,