diff options
Diffstat (limited to 'tools/enum_parser/parse_enum/parse_enum.cpp')
| -rw-r--r-- | tools/enum_parser/parse_enum/parse_enum.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/enum_parser/parse_enum/parse_enum.cpp b/tools/enum_parser/parse_enum/parse_enum.cpp index 3db0d7a4d9a..80c5498ab7d 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); |
