This is an automated email from the ASF dual-hosted git repository. duanzhengqiang 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 82738af3712 Remove incorrect SqlServer annotation syntax (#29394) 82738af3712 is described below commit 82738af37126c6ef60f72de32aeb1cb2d615a02e Author: LotusMoon <chenyang...@aliyun.com> AuthorDate: Wed Dec 13 16:54:49 2023 +0800 Remove incorrect SqlServer annotation syntax (#29394) --- .../sql/dialect/sqlserver/src/main/antlr4/imports/sqlserver/Comments.g4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/sql/dialect/sqlserver/src/main/antlr4/imports/sqlserver/Comments.g4 b/parser/sql/dialect/sqlserver/src/main/antlr4/imports/sqlserver/Comments.g4 index 006f57e0047..ca1709d05ff 100644 --- a/parser/sql/dialect/sqlserver/src/main/antlr4/imports/sqlserver/Comments.g4 +++ b/parser/sql/dialect/sqlserver/src/main/antlr4/imports/sqlserver/Comments.g4 @@ -20,4 +20,4 @@ lexer grammar Comments; import Symbol; BLOCK_COMMENT: '/*' .*? '*/' -> channel(HIDDEN); -INLINE_COMMENT: (('-- ' | '#') ~[\r\n]* ('\r'? '\n' | EOF) | '--' ('\r'? '\n' | EOF)) -> channel(HIDDEN); +INLINE_COMMENT: ('-- ' ~[\r\n]* ('\r'? '\n' | EOF) | '--' ('\r'? '\n' | EOF)) -> channel(HIDDEN);