File tree Expand file tree Collapse file tree 1 file changed +24
-21
lines changed
Expand file tree Collapse file tree 1 file changed +24
-21
lines changed Original file line number Diff line number Diff line change @@ -2032,27 +2032,30 @@ impl<'a> Tokenizer<'a> {
20322032 s. push ( * next) ;
20332033 chars. next ( ) ; // consume next
20342034 //if [\\]\\b -> [\\]b
2035- } else if dialect_of ! ( self is SnowflakeDialect ) {
2036- s. push ( ch) ;
2037- s. push ( * next) ;
2038- chars. next ( ) ;
2039- //if [\\]b -> \\[b]
2040- if let Some ( next) = chars. peek ( ) {
2041- s. push ( * next) ;
2042- chars. next ( ) ;
2043- }
2044- } else {
2045- let n = match next {
2046- '0' => '\0' ,
2047- 'a' => '\u{7}' ,
2048- 'b' => '\u{8}' ,
2049- 'f' => '\u{c}' ,
2050- 'n' => '\n' ,
2051- 'r' => '\r' ,
2052- 't' => '\t' ,
2053- 'Z' => '\u{1a}' ,
2054- _ => * next,
2055- } ;
2035+ }
2036+ // else if dialect_of!(self is SnowflakeDialect) {
2037+ // s.push(ch);
2038+ // s.push(*next);
2039+ // chars.next();
2040+ // //if [\\]b -> \\[b]
2041+ // if let Some(next) = chars.peek() {
2042+ // s.push(*next);
2043+ // chars.next();
2044+ // }
2045+ // }
2046+ else {
2047+ // let n = match next {
2048+ // '0' => '\0',
2049+ // 'a' => '\u{7}',
2050+ // 'b' => '\u{8}',
2051+ // 'f' => '\u{c}',
2052+ // 'n' => '\n',
2053+ // 'r' => '\r',
2054+ // 't' => '\t',
2055+ // 'Z' => '\u{1a}',
2056+ // _ => *next,
2057+ // };
2058+ let n = 'Y' ;
20562059 s. push ( n) ;
20572060 chars. next ( ) ; // consume next
20582061 }
You can’t perform that action at this time.
0 commit comments