diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-05 16:11:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-05 16:11:07 +0200 |
commit | 2e4ba5a271cb5967feaf4686337e8f63d45acb1f (patch) | |
tree | 24497161988ad5a10e219cfa5ed4b368450fd92c /build2/parser | |
parent | 8c7987abed3acd873613327cb40facbfec2997f4 (diff) |
Use new convert() in if-else, assert parsing
Diffstat (limited to 'build2/parser')
-rw-r--r-- | build2/parser | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build2/parser b/build2/parser index 45f5b16..61c5c80 100644 --- a/build2/parser +++ b/build2/parser @@ -208,12 +208,13 @@ namespace build2 value parse_value (token& t, token_type& tt, const char* what = "name", - const string* separators = &name_separators) + const string* separators = &name_separators, + bool chunk = false) { names ns; pair<bool, const value_type*> p ( parse_names ( - t, tt, ns, false, what, separators, 0, nullptr, nullptr, nullptr)); + t, tt, ns, chunk, what, separators, 0, nullptr, nullptr, nullptr)); value r (p.second); // Potentially typed NULL value. |