fix designated initializer assignment producing extra parens

This commit is contained in:
2025-10-22 22:27:50 +03:00
parent 9e44e3d0e8
commit 7a21316c10

View File

@@ -85,7 +85,8 @@
(define (c-maybe-paren op x)
(lambda (st)
((fmt-let 'op op
(if (c-op<= (fmt-op st) op)
(if (and (c-op<= (fmt-op st) op)
(not (vector? st)))
(c-paren x)
x))
st)))