diff options
Diffstat (limited to 'build/lexer')
-rw-r--r-- | build/lexer | 3 |
1 files changed, 3 insertions, 0 deletions
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. // |