diff --git a/src/sqlparser.rs b/src/sqlparser.rs index 76f873d8..8dad1ce5 100644 --- a/src/sqlparser.rs +++ b/src/sqlparser.rs @@ -1212,16 +1212,6 @@ impl Parser { } } - /// Parse a literal double - pub fn parse_literal_double(&mut self) -> Result { - match self.next_token() { - Some(Token::Number(s)) => s.parse::().map_err(|e| { - ParserError::ParserError(format!("Could not parse '{}' as f64: {}", s, e)) - }), - other => parser_err!(format!("Expected literal number, found {:?}", other)), - } - } - /// Parse a literal string pub fn parse_literal_string(&mut self) -> Result { match self.next_token() {