Generate some function separator comments

This commit is contained in:
Nigel Tao committed 2018-05-02 15:54:25 +10:00
1 parent 628c283192
commit d7d5db8f74
7 files changed
+49

No files matched your search

+1
View File
@@ -121,6 +121,7 @@ func (g *gen) writeFuncPrototype(b *buffer, n *a.Func) error {
func (g *gen) writeFuncImpl(b *buffer, n *a.Func) error {
k := g.funks[n.QQID()]
b.printf("// -------- func %s\n\n", n.QQID().Str(g.tm))
if err := g.writeFuncSignature(b, n); err != nil {
return err
}