diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /tools | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rorescompiler/main.cpp | 16 | ||||
-rw-r--r-- | tools/ya.make | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/tools/rorescompiler/main.cpp b/tools/rorescompiler/main.cpp index 7ca5346e4c..d0db96be15 100644 --- a/tools/rorescompiler/main.cpp +++ b/tools/rorescompiler/main.cpp @@ -3,20 +3,20 @@ #include <util/digest/city.h> #include <util/stream/output.h> #include <util/stream/file.h> -#include <util/string/escape.h> +#include <util/string/escape.h> #include <util/string/vector.h> #include <util/string/split.h> using namespace NResource; void GenOne(const TString& raw, const TString& key, IOutputStream& out) { - TString size = raw + "Size"; - TString name = ToString(CityHash64(key.data(), key.size())); - out << "extern \"C\" const char " << raw << "[];\n" - << "extern \"C\" const unsigned int " << size << ";\n" - << "static const NResource::TRegHelper REG_name" << name - << "(\"" << EscapeC(key) << "\", TStringBuf(" << raw << ", " << size << "));\n" - << "\n"; + TString size = raw + "Size"; + TString name = ToString(CityHash64(key.data(), key.size())); + out << "extern \"C\" const char " << raw << "[];\n" + << "extern \"C\" const unsigned int " << size << ";\n" + << "static const NResource::TRegHelper REG_name" << name + << "(\"" << EscapeC(key) << "\", TStringBuf(" << raw << ", " << size << "));\n" + << "\n"; }; int main(int argc, char** argv) { diff --git a/tools/ya.make b/tools/ya.make index 51a6b8b426..2198946e8d 100644 --- a/tools/ya.make +++ b/tools/ya.make @@ -76,7 +76,7 @@ RECURSE( mkdocs_builder/mkdocs_yandex mkdocs_builder/theme mstand - mtime0 + mtime0 mx_bin2info nehc nlp_test @@ -141,7 +141,7 @@ RECURSE( shutter_jing_plugin snipmake spamfilt - stdin + stdin struct2fieldcalc syntaxer tarccreate |