aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNikita Slyusarev <nslus@yandex-team.com>2022-02-10 16:46:53 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:53 +0300
commit469afdc4e2587bf62ecdd096b75a0baa444c4012 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /tools
parentcd77cecfc03a3eaf87816af28a33067c4f0cdb59 (diff)
downloadydb-469afdc4e2587bf62ecdd096b75a0baa444c4012.tar.gz
Restoring authorship annotation for Nikita Slyusarev <nslus@yandex-team.com>. Commit 2 of 2.
Diffstat (limited to 'tools')
-rw-r--r--tools/enum_parser/enum_parser/main.cpp20
-rw-r--r--tools/ya.make8
2 files changed, 14 insertions, 14 deletions
diff --git a/tools/enum_parser/enum_parser/main.cpp b/tools/enum_parser/enum_parser/main.cpp
index f695db5f55..0943c69c1d 100644
--- a/tools/enum_parser/enum_parser/main.cpp
+++ b/tools/enum_parser/enum_parser/main.cpp
@@ -26,7 +26,7 @@
void WriteHeader(const TString& headerName, IOutputStream& out, IOutputStream* headerOutPtr = nullptr) {
out << "// This file was auto-generated. Do not edit!!!\n";
- out << "#include " << headerName << "\n";
+ out << "#include " << headerName << "\n";
out << "#include <tools/enum_parser/enum_serialization_runtime/enum_runtime.h>\n\n";
out << "#include <tools/enum_parser/enum_parser/stdlib_deps.h>\n\n";
out << "#include <util/generic/typetraits.h>\n";
@@ -392,11 +392,11 @@ int main(int argc, char** argv) {
"Generate appropriate header to specified file.\n"
"Works only if output file specified."
);
- opts.AddLongOption("include-path").OptionalArgument("<header-path>").StoreResult(&includePath)
- .Help(
- "Include input header using this path in angle brackets.\n"
- "When not set, header basename is used in double quotes."
- );
+ opts.AddLongOption("include-path").OptionalArgument("<header-path>").StoreResult(&includePath)
+ .Help(
+ "Include input header using this path in angle brackets.\n"
+ "When not set, header basename is used in double quotes."
+ );
opts.AddLongOption('j', "json-output").OptionalArgument("<json-output>").StoreResult(&outputJsonFileName)
.Help(
@@ -433,12 +433,12 @@ int main(int argc, char** argv) {
}
}
- if (!includePath) {
+ if (!includePath) {
includePath = TString() + '"' + TFsPath(inputFileName).Basename() + '"';
- } else {
+ } else {
includePath = TString() + '<' + includePath + '>';
- }
-
+ }
+
TEnumParser parser(inputFileName);
WriteHeader(includePath, *out, headerOut.Get());
diff --git a/tools/ya.make b/tools/ya.make
index 5446bfa076..51a6b8b426 100644
--- a/tools/ya.make
+++ b/tools/ya.make
@@ -58,7 +58,7 @@ RECURSE(
html2text
idl
idx_relemmatizer
- inflector
+ inflector
is_holiday
jsv8
json_to_jsonlines
@@ -84,11 +84,11 @@ RECURSE(
nodeiter_test/tests
normalize_requests
nots
- oauth_token
+ oauth_token
pgmigrate
pire
print_ranking_features
- printcorpus
+ printcorpus
printdocstat
printdom
printkeys
@@ -143,7 +143,7 @@ RECURSE(
spamfilt
stdin
struct2fieldcalc
- syntaxer
+ syntaxer
tarccreate
tarcview
templater