Skip to content

Commit f0fe45f

Browse files
committed
the right way I suppose v21
1 parent 5d8d894 commit f0fe45f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tokenizer.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,7 +2032,12 @@ impl<'a> Tokenizer<'a> {
20322032
s.push(*next);
20332033
chars.next(); // consume next
20342034
} else if dialect_of!(self is SnowflakeDialect) {
2035+
s.push('\\');
20352036
s.push(*next);
2037+
chars.next();
2038+
if let Some(_) = chars.peek() {
2039+
chars.next();
2040+
}
20362041
} else {
20372042
let n = match next {
20382043
'0' => '\0',

0 commit comments

Comments
 (0)