diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-21 22:14:48 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-26 17:40:31 +0300 |
commit | c69d5dc7a81013647400e055d8c05b12eb545801 (patch) | |
tree | a2f14d52b9ff87e84b8cce07d6a36033bf774c8c /libbuild2/cc/lexer.hxx | |
parent | 003f56bf62433d6b009368e52855c766118468e1 (diff) |
Adapt to adding validator to butl::char_scanner
Diffstat (limited to 'libbuild2/cc/lexer.hxx')
-rw-r--r-- | libbuild2/cc/lexer.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/cc/lexer.hxx b/libbuild2/cc/lexer.hxx index 8bb7e0b..d3fe807 100644 --- a/libbuild2/cc/lexer.hxx +++ b/libbuild2/cc/lexer.hxx @@ -79,11 +79,11 @@ namespace build2 ostream& operator<< (ostream&, const token&); - class lexer: protected butl::char_scanner + class lexer: protected butl::char_scanner<> { public: lexer (ifdstream& is, const path_name& name) - : char_scanner (is, false), + : char_scanner (is, false /* crlf */), name_ (name), fail ("error", &name_), log_file_ (name) |