diff options
Diffstat (limited to 'libbutl/char-scanner.cxx')
-rw-r--r-- | libbutl/char-scanner.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libbutl/char-scanner.cxx b/libbutl/char-scanner.cxx index 2e680b6..607d887 100644 --- a/libbutl/char-scanner.cxx +++ b/libbutl/char-scanner.cxx @@ -35,8 +35,10 @@ using namespace std; namespace butl { char_scanner:: - char_scanner (istream& is, bool crlf) - : is_ (is), + char_scanner (istream& is, bool crlf, uint64_t l) + : line (l), + column (1), + is_ (is), buf_ (dynamic_cast<fdbuf*> (is.rdbuf ())), gptr_ (nullptr), egptr_ (nullptr), |