aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/lexer.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-21 22:14:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-26 17:40:31 +0300
commitc69d5dc7a81013647400e055d8c05b12eb545801 (patch)
treea2f14d52b9ff87e84b8cce07d6a36033bf774c8c /libbuild2/lexer.hxx
parent003f56bf62433d6b009368e52855c766118468e1 (diff)
Adapt to adding validator to butl::char_scanner
Diffstat (limited to 'libbuild2/lexer.hxx')
-rw-r--r--libbuild2/lexer.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/lexer.hxx b/libbuild2/lexer.hxx
index 40be996..65a9ba6 100644
--- a/libbuild2/lexer.hxx
+++ b/libbuild2/lexer.hxx
@@ -88,7 +88,7 @@ namespace build2
lexer_mode (base_type v): base_type (v) {}
};
- class LIBBUILD2_SYMEXPORT lexer: public butl::char_scanner
+ class LIBBUILD2_SYMEXPORT lexer: public butl::char_scanner<>
{
public:
// If escape is not NULL then only escape sequences with characters from
@@ -220,7 +220,7 @@ namespace build2
namespace butl // ADL
{
inline build2::location
- get_location (const butl::char_scanner::xchar& c, const void* data)
+ get_location (const butl::char_scanner<>::xchar& c, const void* data)
{
using namespace build2;