diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-12 12:07:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-25 15:30:09 +0300 |
commit | bd43c80c29a02eeebc8667cd14ccb2784e6f5534 (patch) | |
tree | b794de2e919cc78787975dc484b58b543503166f /libbuild2/parser.hxx | |
parent | 2161f4a66606ae380c67e67343f5f07bb2649f54 (diff) |
Implement pre-parse mode for parse_names_trailer()
Diffstat (limited to 'libbuild2/parser.hxx')
-rw-r--r-- | libbuild2/parser.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/parser.hxx b/libbuild2/parser.hxx index 658f266..79cbead 100644 --- a/libbuild2/parser.hxx +++ b/libbuild2/parser.hxx @@ -333,6 +333,9 @@ namespace build2 // it is the result of a sole, unquoted variable expansion, function call, // or context evaluation. // + // In the pre-parse mode no names are appended and the result is always + // {true, nullptr, nullopt}. + // struct parse_names_result { bool not_null; |