Fix the modulo operator on sql2 and parser1 (#3477)
This commit is contained in:
parent
634a2baeac
commit
7d49521c70
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ pub fn binary_symbols(i: &str) -> IResult<&str, Operator> {
|
||||||
value(Operator::Mul, char('∙')),
|
value(Operator::Mul, char('∙')),
|
||||||
value(Operator::Div, char('/')),
|
value(Operator::Div, char('/')),
|
||||||
value(Operator::Div, char('÷')),
|
value(Operator::Div, char('÷')),
|
||||||
|
#[cfg(feature = "sql2")]
|
||||||
|
value(Operator::Rem, char('%')),
|
||||||
)),
|
)),
|
||||||
alt((
|
alt((
|
||||||
value(Operator::Contain, char('∋')),
|
value(Operator::Contain, char('∋')),
|
||||||
|
|
Loading…
Reference in a new issue