From b1715878d50aa8a3c3e2404f3ded120329994aba Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Mar 2015 14:16:54 +0200 Subject: Initial support for command line variables --- build/parser | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build/parser') diff --git a/build/parser b/build/parser index 94a5bdf..4423e25 100644 --- a/build/parser +++ b/build/parser @@ -33,6 +33,9 @@ namespace build buildspec parse_buildspec (std::istream&, const std::string& name); + token + parse_variable (lexer&, scope&, std::string name, token_type kind); + // Recursive descent parser. // private: @@ -53,6 +56,9 @@ namespace build void using_ (token&, token_type&); + void + variable (token&, token_type&, std::string name, token_type kind); + names_type names (token& t, token_type& tt) { -- cgit v1.1