mirror of
https://github.com/uutils/awk.git
synced 2026-06-10 16:15:04 -07:00
fix(parser): correct swapped postfix ++/-- reciprocals
This commit is contained in:
+2
-2
@@ -571,12 +571,12 @@ impl<'a> Parser<'a> {
|
||||
}
|
||||
lex.next();
|
||||
lhs = Expr::node(
|
||||
operation.expr(
|
||||
reciprocal.expr(
|
||||
Expr::node(
|
||||
PlaceOperator::Assignment.expr(
|
||||
rhs,
|
||||
Expr::node(
|
||||
reciprocal.expr(Expr::leaf(rhs), Expr::leaf(1.)),
|
||||
operation.expr(Expr::leaf(rhs), Expr::leaf(1.)),
|
||||
self.arena,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user