aboutsummaryrefslogtreecommitdiff
path: root/build2/parser
diff options
context:
space:
mode:
Diffstat (limited to 'build2/parser')
-rw-r--r--build2/parser9
1 files changed, 9 insertions, 0 deletions
diff --git a/build2/parser b/build2/parser
index 2d523c3..a379bd7 100644
--- a/build2/parser
+++ b/build2/parser
@@ -93,6 +93,9 @@ namespace build2
names_type
eval (token&, token_type&);
+ void
+ eval_trailer (token&, token_type&, names_type&);
+
// If chunk is true, then parse the smallest but complete, name-wise,
// chunk of input. Note that in this case you may still end up with
// multiple names, for example, {foo bar}.
@@ -106,6 +109,12 @@ namespace build2
}
void
+ names (token& t, token_type& tt, names_type& ns, bool chunk = false)
+ {
+ names (t, tt, ns, chunk, 0, nullptr, nullptr, nullptr);
+ }
+
+ void
names (token&, token_type&,
names_type&,
bool chunk,