This commit is contained in:
Michael McLoughlin
2018-12-06 21:58:51 -08:00
parent 676ec39c51
commit c86ef5ecae
4 changed files with 124 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ func (p *GoPrinter) multicomment(lines []string) {
}
func (p *GoPrinter) function(f *Function) {
p.printf("TEXT %s%s(SB),0,$%d-%d\n", dot, f.Name(), f.FrameBytes(), f.ArgumentBytes())
p.printf("TEXT %s%s(SB),0,$%d-%d\n", dot, f.Name, f.FrameBytes(), f.ArgumentBytes())
for _, node := range f.Nodes {
switch n := node.(type) {