From bd43c80c29a02eeebc8667cd14ccb2784e6f5534 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 12 Jul 2019 12:07:57 +0300 Subject: Implement pre-parse mode for parse_names_trailer() --- libbuild2/parser.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/parser.hxx') 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; -- cgit v1.1