Skip to content

Commit 77624b4

Browse files
committed
the right way I suppose v30
1 parent b3082a9 commit 77624b4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/tokenizer.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,6 +2019,17 @@ impl<'a> Tokenizer<'a> {
20192019
} else if dialect_of!(self is SnowflakeDialect) {
20202020
s.push(ch);
20212021
chars.next();
2022+
if let Some(next) = chars.peek() {
2023+
s.push(*next);
2024+
chars.next();
2025+
if let Some(next) = chars.peek() {
2026+
if *next == settings.quote_style {
2027+
num_consecutive_quotes += 1;
2028+
} else {
2029+
num_consecutive_quotes = 0;
2030+
}
2031+
}
2032+
}
20222033
} else {
20232034
let n = match next {
20242035
'0' => '\0',

0 commit comments

Comments
 (0)