summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/proto_parser/proto_parser.h
diff options
context:
space:
mode:
authorvitya-smirnov <[email protected]>2025-10-20 15:43:33 +0300
committervitya-smirnov <[email protected]>2025-10-20 16:32:51 +0300
commit2031733477ed2cb915aa37e7eb14bd9eb3d5d8f9 (patch)
tree36e3f7184ade6465c96931ec9a792c94f6504f08 /yql/essentials/sql/v1/proto_parser/proto_parser.h
parentdbc560aad32360d83f45d7854b01617b185acae4 (diff)
Use Y_UNREACHABLE for ALT_NOT_SET
It is not convinient to grep "You should change implementation according to grammar changes" every time you need it during new translation feature. AI does not always suggests it. More convinient is to use just `Y_UNREACHABLE` as `ALT_NOT_SET` is actually unreachable. commit_hash:132f264e9f781b8c2433fb1f12374f7684466370
Diffstat (limited to 'yql/essentials/sql/v1/proto_parser/proto_parser.h')
-rw-r--r--yql/essentials/sql/v1/proto_parser/proto_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/yql/essentials/sql/v1/proto_parser/proto_parser.h b/yql/essentials/sql/v1/proto_parser/proto_parser.h
index c4a3c663207..39f8f2cbf2e 100644
--- a/yql/essentials/sql/v1/proto_parser/proto_parser.h
+++ b/yql/essentials/sql/v1/proto_parser/proto_parser.h
@@ -24,4 +24,5 @@ google::protobuf::Message* SqlAST(const TParsers& parsers, const TString& query,
NYql::TIssues& err, size_t maxErrors, bool ansiLexer, bool antlr4Parser, google::protobuf::Arena* arena);
google::protobuf::Message* SqlAST(const TParsers& parsers, const TString& query, const TString& queryName,
NAST::IErrorCollector& err, bool ansiLexer, bool antlr4Parser, google::protobuf::Arena* arena);
+
} // namespace NSQLTranslationV1