File tree Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -2031,22 +2031,21 @@ impl<'a> Tokenizer<'a> {
2031
2031
s. push ( ch) ;
2032
2032
s. push ( * next) ;
2033
2033
chars. next ( ) ; // consume next
2034
- }
2035
- else {
2036
- let n = if dialect_of ! ( self is SnowflakeDialect ) {
2037
- '\\'
2038
- } else {
2039
- match next {
2040
- '0' => '\0' ,
2041
- 'a' => '\u{7}' ,
2042
- 'b' => '\u{8}' ,
2043
- 'f' => '\u{c}' ,
2044
- 'n' => '\n' ,
2045
- 'r' => '\r' ,
2046
- 't' => '\t' ,
2047
- 'Z' => '\u{1a}' ,
2048
- _ => * next,
2049
- }
2034
+ } else if dialect_of ! ( self is SnowflakeDialect ) {
2035
+ s. push ( '\\' ) ;
2036
+ s. push ( * next) ;
2037
+ chars. next ( ) ;
2038
+ } else {
2039
+ let n = match next {
2040
+ '0' => '\0' ,
2041
+ 'a' => '\u{7}' ,
2042
+ 'b' => '\u{8}' ,
2043
+ 'f' => '\u{c}' ,
2044
+ 'n' => '\n' ,
2045
+ 'r' => '\r' ,
2046
+ 't' => '\t' ,
2047
+ 'Z' => '\u{1a}' ,
2048
+ _ => * next,
2050
2049
} ;
2051
2050
s. push ( n) ;
2052
2051
chars. next ( ) ; // consume next
You can’t perform that action at this time.
0 commit comments