We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc5a8c9 commit 5f4ac78Copy full SHA for 5f4ac78
1 file changed
src/tokenizer.rs
@@ -2019,12 +2019,6 @@ impl<'a> Tokenizer<'a> {
2019
} else if dialect_of!(self is SnowflakeDialect) {
2020
s.push(ch);
2021
chars.next();
2022
- if let Some(next) = chars.peek() {
2023
- s.push(*next);
2024
- //no `chars.next()` to avoid the edge case
2025
- // where '\\b['] where `[ ]` is the char we would be next at,
2026
- // since `chars.next()` wouldn't allow us to terminate this string
2027
- }
2028
} else {
2029
let n = match next {
2030
'0' => '\0',
0 commit comments