We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7325d9 commit 5ba0075Copy full SHA for 5ba0075
1 file changed
src/parser/mod.rs
@@ -4990,11 +4990,7 @@ impl<'a> Parser<'a> {
4990
return Ok(vec![]);
4991
}
4992
4993
- if end_token == Token::SemiColon
4994
- && self
4995
- .dialect
4996
- .supports_statements_without_semicolon_delimiter()
4997
- {
+ if end_token == Token::SemiColon && !self.options.require_semicolon_stmt_delimiter {
4998
if let Token::Word(ref kw) = self.peek_token().token {
4999
if kw.keyword != Keyword::NoKeyword {
5000
0 commit comments