Indent the io_bind block

This commit is contained in:
Nigel Tao committed 2018-04-28 11:48:07 +10:00
1 parent 395890c287
commit 4588cdcf5f
2 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -130,13 +130,13 @@ func (g *gen) writeStatement(b *buffer, n *a.Node, depth uint32) error {
case a.KIOBind:
n := n.IOBind()
b.writes("// io_bind placeholder {\n")
b.writes("{\n")
for _, o := range n.Body() {
if err := g.writeStatement(b, o, depth); err != nil {
return err
}
}
b.writes("// io_bind placeholder }\n")
b.writes("}\n")
return nil
case a.KIf: