mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Add colons to const syntax
This commit is contained in:
1 parent
80071730a3
commit
532e18c4a5
16 files changed
+119
-99
No files matched your search
+1
-1
@@ -274,7 +274,7 @@ func (h *genHelper) genWuffs(dirname string, qualifiedFilenames []string) error
|
||||
if !n.Public() {
|
||||
continue
|
||||
}
|
||||
fmt.Fprintf(out, "pub const %s %s = %v\n",
|
||||
fmt.Fprintf(out, "pub const %s : %s = %v\n",
|
||||
n.QID().Str(&h.tm), n.XType().Str(&h.tm), n.Value().Str(&h.tm))
|
||||
|
||||
case a.KFunc:
|
||||
|
||||
Reference in new issue
Block a user