aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/uri/encodefsm.rl6
diff options
context:
space:
mode:
authoralmaslov <almaslov@yandex-team.ru>2022-02-10 16:47:35 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:35 +0300
commite95333de1601929cf26176ba4dfb31ea11a9d8e6 (patch)
tree4ca18e5e0d5eac73ae1539fbc22011612c7c1577 /library/cpp/uri/encodefsm.rl6
parent3d9f012b4a922bdd0b9421963aa5985c2096028f (diff)
downloadydb-e95333de1601929cf26176ba4dfb31ea11a9d8e6.tar.gz
Restoring authorship annotation for <almaslov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/uri/encodefsm.rl6')
-rw-r--r--library/cpp/uri/encodefsm.rl616
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/uri/encodefsm.rl6 b/library/cpp/uri/encodefsm.rl6
index 6a323aa85a..c28f6daed5 100644
--- a/library/cpp/uri/encodefsm.rl6
+++ b/library/cpp/uri/encodefsm.rl6
@@ -20,16 +20,16 @@ namespace NEncode {
> { HexReset(); }
% { DoHex(); };
- bad_escaped = ( "%" hex )
- % {
- DoSym(*(fpc - 2));
- DoSym(*(fpc - 1));
- };
+ bad_escaped = ( "%" hex )
+ % {
+ DoSym(*(fpc - 2));
+ DoSym(*(fpc - 1));
+ };
- sym = (any - bad_escaped - escaped) %{ DoSym(*(fpc - 1)); };
-
- main := ( escaped | bad_escaped | sym )**;
+ sym = (any - bad_escaped - escaped) %{ DoSym(*(fpc - 1)); };
+ main := ( escaped | bad_escaped | sym )**;
+
write data;
}%%