diff options
author | laplab <laplab@yandex-team.ru> | 2022-02-10 16:47:56 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:56 +0300 |
commit | f102186b7df1a2a26c35c81eeed5ae914484bdab (patch) | |
tree | a9c6a260744c49fe2a01ab27da07d8c3d3baa3a4 /library/cpp/yson/lexer_detail.h | |
parent | dbca3ecc91dd33d6527ec66a8b06dd6fcb2a3a3e (diff) | |
download | ydb-f102186b7df1a2a26c35c81eeed5ae914484bdab.tar.gz |
Restoring authorship annotation for <laplab@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson/lexer_detail.h')
-rw-r--r-- | library/cpp/yson/lexer_detail.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/yson/lexer_detail.h b/library/cpp/yson/lexer_detail.h index 0bba30acdd2..de2546903e6 100644 --- a/library/cpp/yson/lexer_detail.h +++ b/library/cpp/yson/lexer_detail.h @@ -196,7 +196,7 @@ namespace NYson { } } else { // None Y_ASSERT(state == EReadStartCase::None); - ythrow TYsonException() << "Unexpected " << ch1; + ythrow TYsonException() << "Unexpected " << ch1; } } else { // BinaryScalar = x01b TBase::Advance(1); @@ -243,19 +243,19 @@ namespace NYson { try { *token = TToken(FromString<double>(valueBuffer)); } catch (yexception&) { - ythrow TYsonException() << "Error parsing double literal " << valueBuffer; + ythrow TYsonException() << "Error parsing double literal " << valueBuffer; } } else if (numericResult == ENumericResult::Int64) { try { *token = TToken(FromString<i64>(valueBuffer)); } catch (yexception&) { - ythrow TYsonException() << "Error parsing int64 literal " << valueBuffer; + ythrow TYsonException() << "Error parsing int64 literal " << valueBuffer; } } else if (numericResult == ENumericResult::Uint64) { try { *token = TToken(FromString<ui64>(valueBuffer.SubStr(0, valueBuffer.size() - 1))); } catch (yexception&) { - ythrow TYsonException() << "Error parsing uint64 literal " << valueBuffer; + ythrow TYsonException() << "Error parsing uint64 literal " << valueBuffer; } } } |