Commit 553a88cf authored by Ian Lance Taylor's avatar Ian Lance Taylor

cgo: Print required space after parameter name in wrapper function.

R=rsc, gri
CC=golang-dev
https://golang.org/cl/3206041
parent d853b594
......@@ -426,7 +426,7 @@ func (p *Package) writeExports(fgo2, fc *os.File) {
printer.Fprint(fgo2, fn.Recv.List[0].Type)
forFieldList(fntype.Params,
func(i int, atype ast.Expr) {
fmt.Fprintf(fgo2, ", p%d", i)
fmt.Fprintf(fgo2, ", p%d ", i)
printer.Fprint(fgo2, atype)
})
fmt.Fprintf(fgo2, ")")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment