mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Indent the io_bind block
This commit is contained in:
1 parent
395890c287
commit
4588cdcf5f
2 files changed
+23
-23
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user