jingshanglu commented on a change in pull request #9239:
URL: https://github.com/apache/shardingsphere/pull/9239#discussion_r567610011



##########
File path: 
shardingsphere-sql-parser/shardingsphere-sql-parser-test/src/main/resources/sql/supported/dml/select-comment.xml
##########
@@ -17,6 +17,6 @@
   -->
 
 <sql-cases>
-    <sql-case id="select_with_block_comment" value="SELECT * /* this is 
&#x000D;&#x000A; block comment */ FROM /* this is another &#x000A; block 
comment */ t_order where status='1'" db-types="MySQL" />
+   <!-- <sql-case id="select_with_block_comment" value="SELECT * /* this is 
&#x000D;&#x000A; block comment */ FROM /* this is another &#x000A; block 
comment */ t_order where status='1'" db-types="MySQL" />-->

Review comment:
       @jackyLqq Change lexer rule like this,maybe it will solve the problem.
   ```
   BLOCK_COMMENT:  ('/**/' |'/*' ~[!] .*? '*/') -> channel(HIDDEN);
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to