diff options
| author | vitya-smirnov <[email protected]> | 2025-10-07 09:34:39 +0300 |
|---|---|---|
| committer | vitya-smirnov <[email protected]> | 2025-10-07 09:52:14 +0300 |
| commit | babe7533f18c11be1f8a195ed2324d2d9a89436a (patch) | |
| tree | 45b7627141bf5a52b45a3d61fd1fbdd564bb8dd9 /yql/essentials/sql/v1/proto_parser/antlr3_ansi | |
| parent | 8fe7cfe254fde2772477a8933a163b5f303716b4 (diff) | |
YQL-20086 sql/v1
commit_hash:55bc611cdaa0d8a0fc3c4c7708ed9f17cc4976cf
Diffstat (limited to 'yql/essentials/sql/v1/proto_parser/antlr3_ansi')
| -rw-r--r-- | yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.cpp | 8 | ||||
| -rw-r--r-- | yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.cpp b/yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.cpp index 102f5e187e1..50f8a676edf 100644 --- a/yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.cpp +++ b/yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.cpp @@ -8,10 +8,10 @@ namespace NSQLTranslationV1 { namespace { -class TParser : public NSQLTranslation::IParser { +class TParser: public NSQLTranslation::IParser { public: google::protobuf::Message* Parse( - const TString& query, const TString& queryName, NProtoAST::IErrorCollector& err, + const TString& query, const TString& queryName, NProtoAST::IErrorCollector& err, google::protobuf::Arena* arena) final { YQL_ENSURE(arena); NProtoAST::TProtoASTBuilder3<NALPAnsi::SQLv1Parser, NALPAnsi::SQLv1Lexer> builder(query, queryName, arena); @@ -26,10 +26,10 @@ public: } }; -} +} // namespace NSQLTranslation::TParserFactoryPtr MakeAntlr3AnsiParserFactory() { return MakeIntrusive<TFactory>(); } -} +} // namespace NSQLTranslationV1 diff --git a/yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.h b/yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.h index f03f1ea0a72..f852e003ee9 100644 --- a/yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.h +++ b/yql/essentials/sql/v1/proto_parser/antlr3_ansi/proto_parser.h @@ -5,4 +5,4 @@ namespace NSQLTranslationV1 { NSQLTranslation::TParserFactoryPtr MakeAntlr3AnsiParserFactory(); -} +} // namespace NSQLTranslationV1 |
