forked from extern/nushell
added pow operator, and filesize math (#2976)
* added pow operator, and filesize math * removed + and - arms, removed some pow, pow higher precedence * Update value.rs Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
This commit is contained in:
@ -307,6 +307,7 @@ fn parse_operator(lite_arg: &Spanned<String>) -> (SpannedExpression, Option<Pars
|
||||
"mod" => Operator::Modulo,
|
||||
"&&" => Operator::And,
|
||||
"||" => Operator::Or,
|
||||
"**" => Operator::Pow,
|
||||
_ => {
|
||||
return (
|
||||
garbage(lite_arg.span),
|
||||
|
Reference in New Issue
Block a user