forked from extern/nushell
Add modulo operator and simplify in/not-in (#2505)
This commit is contained in:
@ -286,8 +286,9 @@ fn parse_operator(lite_arg: &Spanned<String>) -> (SpannedExpression, Option<Pars
|
||||
"-" => Operator::Minus,
|
||||
"*" => Operator::Multiply,
|
||||
"/" => Operator::Divide,
|
||||
"in:" => Operator::In,
|
||||
"not-in:" => Operator::NotIn,
|
||||
"in" => Operator::In,
|
||||
"not-in" => Operator::NotIn,
|
||||
"mod" => Operator::Modulo,
|
||||
"&&" => Operator::And,
|
||||
"||" => Operator::Or,
|
||||
_ => {
|
||||
|
Reference in New Issue
Block a user