cmd/wuffs: tweak genWuffs output to be wuffsfmt'ed

This commit is contained in:
Nigel Tao committed 2023-04-09 15:58:04 +10:00
1 parent 49fa501f0d
commit 6ede29ab3a
1 file changed
+2 -2
+2 -2
View File
@@ -294,9 +294,9 @@ func (h *genHelper) genWuffs(dirname string, qualifiedFilenames []string) error
}
fmt.Fprintf(out, ") ")
if o := n.Out(); o != nil {
fmt.Fprintf(out, "%s", o.Str(&h.tm))
fmt.Fprintf(out, "%s ", o.Str(&h.tm))
}
fmt.Fprintf(out, " { }\n")
fmt.Fprintf(out, "{ }\n")
case a.KStatus:
n := n.AsStatus()