diff --git a/acorn.js b/acorn.js index 3cf3f06e87..fc8a0a342f 100644 --- a/acorn.js +++ b/acorn.js @@ -2516,7 +2516,7 @@ next(); var start = storeCurrentPos(); if(op.rightAssociative) { - node.right = parseExprOp(parseMaybeUnary(), start, prec - 1, noIn); + node.right = parseExprOp(parseMaybeUnary(), start, minPrec, noIn); } else { node.right = parseExprOp(parseMaybeUnary(), start, prec, noIn); }