Skip to content

Commit 32bbd2f

Browse files
committed
the right way I suppose v28
1 parent 54550ac commit 32bbd2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tokenizer.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2018,8 +2018,10 @@ impl<'a> Tokenizer<'a> {
20182018
chars.next(); // consume next
20192019
} else if dialect_of!(self is SnowflakeDialect) {
20202020
s.push(ch);
2021-
s.push(*next);
20222021
chars.next();
2022+
if let Some(_) = chars.peek() {
2023+
s.push('Y');
2024+
}
20232025
} else {
20242026
let n = match next {
20252027
'0' => '\0',

0 commit comments

Comments
 (0)