From 82738af37126c6ef60f72de32aeb1cb2d615a02e Mon Sep 17 00:00:00 2001 From: LotusMoon Date: Wed, 13 Dec 2023 16:54:49 +0800 Subject: [PATCH] Remove incorrect SqlServer annotation syntax (#29394) --- .../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 006f57e0047d7..ca1709d05fff4 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);