aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/fast_sax/parser.rl6
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /library/cpp/json/fast_sax/parser.rl6
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/fast_sax/parser.rl6')
-rw-r--r--library/cpp/json/fast_sax/parser.rl634
1 files changed, 17 insertions, 17 deletions
diff --git a/library/cpp/json/fast_sax/parser.rl6 b/library/cpp/json/fast_sax/parser.rl6
index edb4e9ee1b..d25e26b02e 100644
--- a/library/cpp/json/fast_sax/parser.rl6
+++ b/library/cpp/json/fast_sax/parser.rl6
@@ -124,7 +124,7 @@ struct TParserCtx {
}
bool OnString(TStringBuf s, EStoredStr t) {
- if (Y_LIKELY(OnVal())) {
+ if (Y_LIKELY(OnVal())) {
String = s;
Stored = t;
return true;
@@ -210,21 +210,21 @@ machine fastjson;
alphtype char;
-action OnNull { if (Y_UNLIKELY(!OnNull())) goto TOKEN_ERROR; }
-action OnTrue { if (Y_UNLIKELY(!OnTrue())) goto TOKEN_ERROR; }
-action OnFalse { if (Y_UNLIKELY(!OnFalse())) goto TOKEN_ERROR; }
-action OnPInt { if (Y_UNLIKELY(!OnPInt())) goto TOKEN_ERROR; }
-action OnNInt { if (Y_UNLIKELY(!OnNInt())) goto TOKEN_ERROR; }
-action OnFlt { if (Y_UNLIKELY(!OnFlt())) goto TOKEN_ERROR; }
-action OnStrU { if (Y_UNLIKELY(!OnStrU())) goto TOKEN_ERROR; }
-action OnStrQ { if (Y_UNLIKELY(!OnStrQ())) goto TOKEN_ERROR; }
-action OnStrE { if (Y_UNLIKELY(!OnStrE())) goto TOKEN_ERROR; }
-action OnDictO { if (Y_UNLIKELY(!OnMapOpen())) goto TOKEN_ERROR; }
-action OnDictC { if (Y_UNLIKELY(!OnMapClose())) goto TOKEN_ERROR; }
-action OnArrO { if (Y_UNLIKELY(!OnArrOpen())) goto TOKEN_ERROR; }
-action OnArrC { if (Y_UNLIKELY(!OnArrClose())) goto TOKEN_ERROR; }
-action OnComma { if (Y_UNLIKELY(!OnComma())) goto TOKEN_ERROR; }
-action OnColon { if (Y_UNLIKELY(!OnColon())) goto TOKEN_ERROR; }
+action OnNull { if (Y_UNLIKELY(!OnNull())) goto TOKEN_ERROR; }
+action OnTrue { if (Y_UNLIKELY(!OnTrue())) goto TOKEN_ERROR; }
+action OnFalse { if (Y_UNLIKELY(!OnFalse())) goto TOKEN_ERROR; }
+action OnPInt { if (Y_UNLIKELY(!OnPInt())) goto TOKEN_ERROR; }
+action OnNInt { if (Y_UNLIKELY(!OnNInt())) goto TOKEN_ERROR; }
+action OnFlt { if (Y_UNLIKELY(!OnFlt())) goto TOKEN_ERROR; }
+action OnStrU { if (Y_UNLIKELY(!OnStrU())) goto TOKEN_ERROR; }
+action OnStrQ { if (Y_UNLIKELY(!OnStrQ())) goto TOKEN_ERROR; }
+action OnStrE { if (Y_UNLIKELY(!OnStrE())) goto TOKEN_ERROR; }
+action OnDictO { if (Y_UNLIKELY(!OnMapOpen())) goto TOKEN_ERROR; }
+action OnDictC { if (Y_UNLIKELY(!OnMapClose())) goto TOKEN_ERROR; }
+action OnArrO { if (Y_UNLIKELY(!OnArrOpen())) goto TOKEN_ERROR; }
+action OnArrC { if (Y_UNLIKELY(!OnArrClose())) goto TOKEN_ERROR; }
+action OnComma { if (Y_UNLIKELY(!OnComma())) goto TOKEN_ERROR; }
+action OnColon { if (Y_UNLIKELY(!OnColon())) goto TOKEN_ERROR; }
action OnError { goto TOKEN_ERROR; }
comment1 = "/*" (any* -- "*/") "*/";
@@ -296,7 +296,7 @@ bool TParserCtx::Parse() {
write exec;
}%%
;
- Y_UNUSED(fastjson_en_main);
+ Y_UNUSED(fastjson_en_main);
} catch (const TFromStringException& e) {
return OnError(e.what());
}