File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -2004,21 +2004,6 @@ impl<'a> Tokenizer<'a> {
2004
2004
return Ok ( s) ;
2005
2005
}
2006
2006
}
2007
- // char if dialect_of!(self is SnowflakeDialect) && char.is_ascii_control() => {
2008
- // let n = match char {
2009
- // '\x00' => '\0',
2010
- // '\x07' => '\u{7}',
2011
- // '\x08' => '\u{8}',
2012
- // '\x12' => '\u{c}',
2013
- // '\x10' => '\n',
2014
- // '\x13' => '\r',
2015
- // '\x09' => '\t',
2016
- // '\x26' => '\u{1a}',
2017
- // _ => char,
2018
- // };
2019
- // s.push('\0');
2020
- // chars.next(); // consume symbol
2021
- // }
2022
2007
'\\' if settings. backslash_escape => {
2023
2008
// consume backslash
2024
2009
chars. next ( ) ;
@@ -2034,10 +2019,10 @@ impl<'a> Tokenizer<'a> {
2034
2019
} else if dialect_of ! ( self is SnowflakeDialect ) {
2035
2020
s. push ( '\\' ) ;
2036
2021
chars. next ( ) ;
2037
- if let Some ( next) = chars. peek ( ) {
2038
- s. push ( '\x08' ) ;
2039
- chars. next ( ) ;
2040
- }
2022
+ // if let Some(next) = chars.peek() {
2023
+ // s.push(*next );
2024
+ // chars.next();
2025
+ // }
2041
2026
} else {
2042
2027
let n = match next {
2043
2028
'0' => '\0' ,
You can’t perform that action at this time.
0 commit comments