fix designated initializer assignment producing extra parens

This commit is contained in:
2025-10-22 22:27:50 +03:00
committed by Pavel Kulyov
parent c517b522ad
commit 3af850b111

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)))