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/lexer | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build/lexer') diff --git a/build/lexer b/build/lexer index 5f91dc4..81225e0 100644 --- a/build/lexer +++ b/build/lexer @@ -30,6 +30,9 @@ namespace build public: lexer (std::istream& is, const std::string& name): is_ (is), fail (name) {} + const std::string& + name () const {return fail.name_;} + // Note: sets mode for the next token. If mode is pairs, then // the second argument specifies the separator character. // -- cgit v1.1