Java: Align BinaryExpr.getOp() with AssignOp.getOp().

This commit is contained in:
Anders Schack-Mulligen
2026-03-04 13:46:04 +01:00
parent fe032a5834
commit 3c129fcd23
5 changed files with 29 additions and 27 deletions

View File

@@ -138,7 +138,7 @@ int operatorWS(BinaryExpr expr) {
endOfBinaryLhs(expr, line, lcol) and
startOfBinaryRhs(expr, line, rcol) and
parens = getParensNextToOp(expr) and
result = rcol - lcol + 1 - expr.getOp().length() - parens
result = rcol - lcol - 1 - expr.getOp().length() - parens
)
}