aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-13 11:49:29 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-13 11:49:29 -0400
commit404651ee41ba9b4d5d753f0869998df37d83e4d0 (patch)
tree0fdc0398e988387d879a226439f8c1d14b5953e5 /src
parent9839b47be3a43cd5b2cc058932921073c8d8d758 (diff)
Make assignment and value decl behaviour the same with long lines
Diffstat (limited to 'src')
-rw-r--r--src/odin/printer/visit.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odin/printer/visit.odin b/src/odin/printer/visit.odin
index a3e8e83..882ba51 100644
--- a/src/odin/printer/visit.odin
+++ b/src/odin/printer/visit.odin
@@ -1127,7 +1127,7 @@ visit_stmt :: proc(
document = cons(document, nest_if_break(group(rhs), "assignments"))
document = group(document)
} else {
- document = group(cons_with_opl(assign_document, group(rhs)))
+ document = group(cons_with_nopl(assign_document, group(rhs)))
}
case ^Expr_Stmt:
document = cons(document, visit_expr(p, v.expr))