aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-26 18:03:42 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-26 18:03:42 +0300
commitaa4d5ca8a58e0152eb4495140461f965aec71580 (patch)
treeef25f461ccd182e2c2c3699eef60013b446fb58f
parentaa377121faee8f0891f1eac818549013efbf9fb1 (diff)
downloadydb-aa4d5ca8a58e0152eb4495140461f965aec71580.tar.gz
intermediate changes
ref:583152f672f4b00f4631467dc79a08887cd9a81c
-rw-r--r--build/ya.conf.json2
-rw-r--r--tools/enum_parser/parse_enum/parse_enum.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/build/ya.conf.json b/build/ya.conf.json
index 8e39243ec3..d97e64939f 100644
--- a/build/ya.conf.json
+++ b/build/ya.conf.json
@@ -8386,7 +8386,7 @@
},
"lama": {
"formula": {
- "sandbox_id": 1290856121,
+ "sandbox_id": 1290980567,
"match": "lama"
},
"executable": {
diff --git a/tools/enum_parser/parse_enum/parse_enum.cpp b/tools/enum_parser/parse_enum/parse_enum.cpp
index 3db0d7a4d9..80c5498ab7 100644
--- a/tools/enum_parser/parse_enum/parse_enum.cpp
+++ b/tools/enum_parser/parse_enum/parse_enum.cpp
@@ -405,7 +405,9 @@ void TEnumParser::Parse(const char* data, size_t length) {
const bool isFlatbuffersHeader = span.Contains("// automatically generated by the FlatBuffers compiler");
Y_ENSURE(
hasPragmaOnce || isProtobufHeader || isFlatbuffersHeader,
- "Serialization functions can be generated only for enums in header files, see SEARCH-975. "
+ "Serialization functions can be generated only for enums in header files. "
+ "A valid header should either contain `#pragma once` or be an protobuf/flatbuf autogenerated header file. "
+ "See SEARCH-975 for more information. "
);
TCppContext cppContext(data, SourceFileName);
TMemoryInput in(data, length);