You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2025/06/07 06:42:44 UTC

(shardingsphere) branch master updated: Remove redundant 'parser' keyword from LCLStatement grammar definition (#35627)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 48ea5388e61 Remove redundant 'parser' keyword from LCLStatement grammar definition (#35627)
48ea5388e61 is described below

commit 48ea5388e6152768f3b00e6bb00011c30afda94a
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Jun 7 14:42:38 2025 +0800

    Remove redundant 'parser' keyword from LCLStatement grammar definition (#35627)
---
 parser/sql/dialect/doris/src/main/antlr4/imports/doris/LCLStatement.g4  | 2 +-
 parser/sql/dialect/mysql/src/main/antlr4/imports/mysql/LCLStatement.g4  | 2 +-
 .../dialect/opengauss/src/main/antlr4/imports/opengauss/LCLStatement.g4 | 2 +-
 .../sql/dialect/oracle/src/main/antlr4/imports/oracle/LCLStatement.g4   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/parser/sql/dialect/doris/src/main/antlr4/imports/doris/LCLStatement.g4 b/parser/sql/dialect/doris/src/main/antlr4/imports/doris/LCLStatement.g4
index e2f0e0f8a4a..2e959c2b946 100644
--- a/parser/sql/dialect/doris/src/main/antlr4/imports/doris/LCLStatement.g4
+++ b/parser/sql/dialect/doris/src/main/antlr4/imports/doris/LCLStatement.g4
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-parser grammar LCLStatement;
+grammar LCLStatement;
 
 import BaseRule;
 
diff --git a/parser/sql/dialect/mysql/src/main/antlr4/imports/mysql/LCLStatement.g4 b/parser/sql/dialect/mysql/src/main/antlr4/imports/mysql/LCLStatement.g4
index b90639359fe..e98ff958395 100644
--- a/parser/sql/dialect/mysql/src/main/antlr4/imports/mysql/LCLStatement.g4
+++ b/parser/sql/dialect/mysql/src/main/antlr4/imports/mysql/LCLStatement.g4
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-parser grammar LCLStatement;
+grammar LCLStatement;
 
 import BaseRule;
 
diff --git a/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/LCLStatement.g4 b/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/LCLStatement.g4
index 60e69dfce9c..12a6f722b6c 100644
--- a/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/LCLStatement.g4
+++ b/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/LCLStatement.g4
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-parser grammar LCLStatement;
+grammar LCLStatement;
 
 import DMLStatement;
 
diff --git a/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/LCLStatement.g4 b/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/LCLStatement.g4
index af9626b4e9e..8f4baaf46df 100644
--- a/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/LCLStatement.g4
+++ b/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/LCLStatement.g4
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-parser grammar LCLStatement;
+grammar LCLStatement;
 
 import BaseRule, DMLStatement;