diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-26 18:03:42 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-26 18:03:42 +0300 |
commit | aa4d5ca8a58e0152eb4495140461f965aec71580 (patch) | |
tree | ef25f461ccd182e2c2c3699eef60013b446fb58f | |
parent | aa377121faee8f0891f1eac818549013efbf9fb1 (diff) | |
download | ydb-aa4d5ca8a58e0152eb4495140461f965aec71580.tar.gz |
intermediate changes
ref:583152f672f4b00f4631467dc79a08887cd9a81c
-rw-r--r-- | build/ya.conf.json | 2 | ||||
-rw-r--r-- | tools/enum_parser/parse_enum/parse_enum.cpp | 4 |
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); |