From a64b2ae2099346471ead988d5f2d383d55a9bf89 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 16 Feb 2017 13:42:23 +0300 Subject: Add set builtin --- build2/test/script/parser | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'build2/test/script/parser') diff --git a/build2/test/script/parser b/build2/test/script/parser index cb51042..cb536e6 100644 --- a/build2/test/script/parser +++ b/build2/test/script/parser @@ -34,6 +34,19 @@ namespace build2 void pre_parse (istream&, script&); + // Helpers. + // + // Parse attribute string and perform attribute-guided assignment. + // Issue diagnostics and throw failed in case of an error. + // + void + apply_value_attributes (const variable*, // Optional. + value& lhs, + value&& rhs, + const string& attributes, + token_type assign_kind, + const path& name); // For diagnostics. + // Recursive descent parser. // // Usually (but not always) parse functions receive the token/type -- cgit v1.1