Skip to content

Commit 57a8ec5

Browse files
committed
the right way I suppose v4
1 parent 392fdc9 commit 57a8ec5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tokenizer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,11 +2031,11 @@ impl<'a> Tokenizer<'a> {
20312031
s.push(ch);
20322032
s.push(*next);
20332033
chars.next(); // consume next
2034-
//if [\\]\\b -> [\\]b
2035-
} else if dialect_of!(self is SnowflakeDialect) && *next == '\\' {
2034+
//if [\\]\\b -> [\\]b
2035+
} else if dialect_of!(self is SnowflakeDialect) {
20362036
s.push(*next);
20372037
chars.next();
2038-
//if [\\]b -> \\[b]
2038+
//if [\\]b -> \\[b]
20392039
if let Some(next) = chars.peek() {
20402040
s.push(*next);
20412041
chars.next();

0 commit comments

Comments
 (0)