diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-12-09 20:34:22 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-12-16 17:21:51 +0300 |
commit | 0fd1f6d05779eb51c90360751c9a61933120a4de (patch) | |
tree | 97d7e630770488b3696723ebf15c8f00a036f251 /libbutl/char-scanner.hxx | |
parent | 405dfa3e28ab71d4f6b5210faba0e3600070a0f3 (diff) |
Add column argument to char_scanner constructor
Diffstat (limited to 'libbutl/char-scanner.hxx')
-rw-r--r-- | libbutl/char-scanner.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libbutl/char-scanner.hxx b/libbutl/char-scanner.hxx index b7ea14b..24865b7 100644 --- a/libbutl/char-scanner.hxx +++ b/libbutl/char-scanner.hxx @@ -47,19 +47,21 @@ namespace butl // includes a number of optimizations that assume nobody else is messing // with the stream. // - // The line and position arguments can be used to override the start line - // and position in the stream (useful when re-scanning data saved with the - // save_* facility). + // The line, column, and position arguments can be used to override the + // start line, column, and position in the stream (useful when re-scanning + // data saved with the save_* facility). // char_scanner (std::istream&, bool crlf = true, std::uint64_t line = 1, + std::uint64_t column = 1, std::uint64_t position = 0); char_scanner (std::istream&, validator_type, bool crlf = true, std::uint64_t line = 1, + std::uint64_t column = 1, std::uint64_t position = 0); char_scanner (const char_scanner&) = delete; |