diff options
Diffstat (limited to 'libbutl/char-scanner.txx')
-rw-r--r-- | libbutl/char-scanner.txx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libbutl/char-scanner.txx b/libbutl/char-scanner.txx index 35edf42..75ea189 100644 --- a/libbutl/char-scanner.txx +++ b/libbutl/char-scanner.txx @@ -1,9 +1,7 @@ // file : libbutl/char-scanner.txx -*- C++ -*- // license : MIT; see accompanying LICENSE file -#ifndef __cpp_lib_modules_ts #include <utility> // move -#endif namespace butl { @@ -13,13 +11,14 @@ namespace butl validator_type v, bool crlf, std::uint64_t l, + std::uint64_t c, std::uint64_t p) : line (l), - column (1), + column (c), position (p), is_ (is), val_ (std::move (v)), - buf_ (dynamic_cast<fdbuf*> (is.rdbuf ())), + buf_ (dynamic_cast<bufstreambuf*> (is.rdbuf ())), gptr_ (nullptr), egptr_ (nullptr), crlf_ (crlf) |