aboutsummaryrefslogtreecommitdiff
path: root/libbutl/char-scanner.txx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-12-09 20:34:22 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-12-16 17:21:51 +0300
commit0fd1f6d05779eb51c90360751c9a61933120a4de (patch)
tree97d7e630770488b3696723ebf15c8f00a036f251 /libbutl/char-scanner.txx
parent405dfa3e28ab71d4f6b5210faba0e3600070a0f3 (diff)
Add column argument to char_scanner constructor
Diffstat (limited to 'libbutl/char-scanner.txx')
-rw-r--r--libbutl/char-scanner.txx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbutl/char-scanner.txx b/libbutl/char-scanner.txx
index 6e0063a..75ea189 100644
--- a/libbutl/char-scanner.txx
+++ b/libbutl/char-scanner.txx
@@ -11,9 +11,10 @@ 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)),