From 5cead9c6a194e3dd8ee6da8b06c5c9312e9f6f04 Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Fri, 25 Oct 2024 14:21:06 +0800 Subject: [PATCH] chore(version): bump version to 2.4.0 and skip option in Protobuf parser This commit updates the project version to 2.4.0 and adds a skip comment for option statements in the Protobuf parser to ignore them during parsing. --- build.gradle.kts | 2 +- .../main/kotlin/chapi/ast/protobuf/ProtobufFullIdentListener.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 55af9136..d5a6c613 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,7 +27,7 @@ allprojects { apply(plugin = "java") group = "com.phodal.chapi" - version = "2.3.6" + version = "2.4.0" description = "Chapi is A common hierarchical abstract parser && information convertor, streamlines code analysis by converting diverse language source code into a unified abstract model, simplifying cross-language development." diff --git a/chapi-ast-protobuf/src/main/kotlin/chapi/ast/protobuf/ProtobufFullIdentListener.kt b/chapi-ast-protobuf/src/main/kotlin/chapi/ast/protobuf/ProtobufFullIdentListener.kt index 46af8a85..61e0e0c5 100644 --- a/chapi-ast-protobuf/src/main/kotlin/chapi/ast/protobuf/ProtobufFullIdentListener.kt +++ b/chapi-ast-protobuf/src/main/kotlin/chapi/ast/protobuf/ProtobufFullIdentListener.kt @@ -85,7 +85,7 @@ class ProtobufFullIdentListener(var fileName: String) : Protobuf3BaseListener() } is Protobuf3Parser.OptionStatementContext -> { - + // skip } is Protobuf3Parser.OneofContext -> {