diff options
author | dvorkanton <dvorkanton@yandex-team.ru> | 2022-02-10 16:46:04 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:04 +0300 |
commit | ce1ca0f8ad5b8231d32b35629f85bb09beea1bfb (patch) | |
tree | 19b21fdcf9ef01e0c94a15434fb08a4a555a79e9 /library/cpp/yson_pull | |
parent | fc361854fd6ee8d747229b090f0b8018e260d1fb (diff) | |
download | ydb-ce1ca0f8ad5b8231d32b35629f85bb09beea1bfb.tar.gz |
Restoring authorship annotation for <dvorkanton@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson_pull')
-rw-r--r-- | library/cpp/yson_pull/detail/lexer_base.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/yson_pull/detail/lexer_base.h b/library/cpp/yson_pull/detail/lexer_base.h index 572bdb3d18..8cf4d45f2a 100644 --- a/library/cpp/yson_pull/detail/lexer_base.h +++ b/library/cpp/yson_pull/detail/lexer_base.h @@ -55,7 +55,7 @@ namespace NYsonPull { token_buffer_.clear(); auto type = number_type::int64; while (true) { - auto ch = this->Base::template get_byte<true>(); + auto ch = this->Base::template get_byte<true>(); if (isdigit(ch) || ch == '+' || ch == '-') { token_buffer_.push_back(ch); } else if (ch == '.' || ch == 'e' || ch == 'E') { @@ -106,7 +106,7 @@ namespace NYsonPull { token_buffer_.clear(); auto& buf = Base::stream().buffer(); while (true) { - this->Base::template fill_buffer<false>(); + this->Base::template fill_buffer<false>(); auto* quote = reinterpret_cast<const ui8*>( ::memchr(buf.pos(), '"', buf.available())); if (quote == nullptr) { @@ -144,7 +144,7 @@ namespace NYsonPull { TStringBuf read_unquoted_string() { token_buffer_.clear(); while (true) { - auto ch = this->Base::template get_byte<true>(); + auto ch = this->Base::template get_byte<true>(); if (isalpha(ch) || isdigit(ch) || ch == '_' || ch == '-' || ch == '%' || ch == '.') { token_buffer_.push_back(ch); @@ -185,7 +185,7 @@ namespace NYsonPull { auto needToRead = length; token_buffer_.clear(); while (needToRead) { - this->Base::template fill_buffer<false>(); + this->Base::template fill_buffer<false>(); auto chunk_size = std::min(needToRead, buf.available()); token_buffer_.insert( @@ -206,7 +206,7 @@ namespace NYsonPull { auto assert_literal = [&](TStringBuf literal) -> void { for (size_t i = 2; i < literal.size(); ++i) { - token_buffer_.push_back(this->Base::template get_byte<false>()); + token_buffer_.push_back(this->Base::template get_byte<false>()); Base::advance(1); if (Y_UNLIKELY(token_buffer_.back() != literal[i])) { throw_incorrect_percent_scalar(); @@ -215,7 +215,7 @@ namespace NYsonPull { }; token_buffer_.clear(); - token_buffer_.push_back(this->Base::template get_byte<false>()); + token_buffer_.push_back(this->Base::template get_byte<false>()); Base::advance(1); switch (token_buffer_[0]) { |