We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f68491f commit a7713ffCopy full SHA for a7713ff
1 file changed
src/parser/mod.rs
@@ -4635,11 +4635,7 @@ impl<'a> Parser<'a> {
4635
return Ok(vec![]);
4636
}
4637
4638
- if end_token == Token::SemiColon
4639
- && self
4640
- .dialect
4641
- .supports_statements_without_semicolon_delimiter()
4642
- {
+ if end_token == Token::SemiColon && !self.options.require_semicolon_stmt_delimiter {
4643
if let Token::Word(ref kw) = self.peek_token().token {
4644
if kw.keyword != Keyword::NoKeyword {
4645
0 commit comments