aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/lexer_detail.h
diff options
context:
space:
mode:
authorlaplab <laplab@yandex-team.ru>2022-02-10 16:47:56 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:56 +0300
commit9968a46231e337bd46eca82216b40f8eadec679c (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/yson/lexer_detail.h
parentf102186b7df1a2a26c35c81eeed5ae914484bdab (diff)
downloadydb-9968a46231e337bd46eca82216b40f8eadec679c.tar.gz
Restoring authorship annotation for <laplab@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/lexer_detail.h')
-rw-r--r--library/cpp/yson/lexer_detail.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/yson/lexer_detail.h b/library/cpp/yson/lexer_detail.h
index de2546903e..0bba30acdd 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;
}
}
}