diff options
author | orivej <[email protected]> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /tools | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 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 d0db96be153..7ca5346e4c8 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 2198946e8d4..51a6b8b4263 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 |