mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-12-23 11:12:51 +00:00
postgres tokenizer: do not silently ignore the character after a question mark if it is not one of the expected characters
This commit is contained in:
parent
d78dbc97a1
commit
d95cef054b
1 changed files with 1 additions and 1 deletions
|
|
@ -1717,7 +1717,7 @@ impl<'a> Tokenizer<'a> {
|
|||
}
|
||||
}
|
||||
Some('#') => self.consume_and_return(chars, Token::QuestionMarkSharp),
|
||||
_ => self.consume_and_return(chars, Token::Question),
|
||||
_ => Ok(Some(Token::Question)),
|
||||
}
|
||||
}
|
||||
'?' => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue