diff options
| author | laplab <[email protected]> | 2022-02-10 16:47:56 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:56 +0300 |
| commit | f102186b7df1a2a26c35c81eeed5ae914484bdab (patch) | |
| tree | a9c6a260744c49fe2a01ab27da07d8c3d3baa3a4 /library/cpp/yson/token.cpp | |
| parent | dbca3ecc91dd33d6527ec66a8b06dd6fcb2a3a3e (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson/token.cpp')
| -rw-r--r-- | library/cpp/yson/token.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/yson/token.cpp b/library/cpp/yson/token.cpp index c8584c8c2ea..7778ac887f2 100644 --- a/library/cpp/yson/token.cpp +++ b/library/cpp/yson/token.cpp @@ -188,11 +188,11 @@ namespace NYson { void TToken::CheckType(ETokenType expectedType) const { if (Type_ != expectedType) { if (Type_ == ETokenType::EndOfStream) { - ythrow TYsonException() << "Unexpected end of stream (ExpectedType: " << TokenTypeToString(expectedType) << ")"; + ythrow TYsonException() << "Unexpected end of stream (ExpectedType: " << TokenTypeToString(expectedType) << ")"; } else { - ythrow TYsonException() << "Unexpected token (Token: '" << ToString(*this) - << "', Type: " << TokenTypeToString(Type_) - << ", ExpectedType: " << TokenTypeToString(expectedType) << ")"; + ythrow TYsonException() << "Unexpected token (Token: '" << ToString(*this) + << "', Type: " << TokenTypeToString(Type_) + << ", ExpectedType: " << TokenTypeToString(expectedType) << ")"; } } } |
