aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/scheme/scimpl_json_read.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/scheme/scimpl_json_read.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/scheme/scimpl_json_read.cpp')
-rw-r--r--library/cpp/scheme/scimpl_json_read.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/scheme/scimpl_json_read.cpp b/library/cpp/scheme/scimpl_json_read.cpp
index 8a29cc7739..12b7625200 100644
--- a/library/cpp/scheme/scimpl_json_read.cpp
+++ b/library/cpp/scheme/scimpl_json_read.cpp
@@ -7,7 +7,7 @@
namespace NSc {
struct TJsonError {
size_t Offset = 0;
- TMaybe<TString> Reason;
+ TMaybe<TString> Reason;
};
struct TJsonDeserializer : NJson::TJsonCallbacks {
@@ -57,14 +57,14 @@ namespace NSc {
}
};
- typedef TVector<TContainer> TStackType;
+ typedef TVector<TContainer> TStackType;
public:
TValue& Root;
TJsonError& Error;
const TJsonOpts& Cfg;
- TStackType Stack;
+ TStackType Stack;
bool Virgin = true;
public:
@@ -213,7 +213,7 @@ namespace NSc {
return res;
}
- TString reason = err.Reason.Empty() ? "NULL" : *err.Reason;
+ TString reason = err.Reason.Empty() ? "NULL" : *err.Reason;
ythrow TSchemeParseException(err.Offset, reason) << "JSON error at offset " << err.Offset << " (" << reason << ")";
}