We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e0d11 commit f53532dCopy full SHA for f53532d
src/tokenizer.rs
@@ -2032,9 +2032,11 @@ impl<'a> Tokenizer<'a> {
2032
s.push(*next);
2033
chars.next(); // consume next
2034
} else if dialect_of!(self is SnowflakeDialect) {
2035
- s.push(r"\".chars().nth(0).unwrap());
2036
- s.push(*next);
2037
chars.next();
+ if let Some(next) = chars.peek() {
+ s.push(*next);
2038
+ chars.next();
2039
+ }
2040
} else {
2041
let n = match next {
2042
'0' => '\0',
0 commit comments