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
+4 -4

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:
+2 -2
View File
@@ -2955,7 +2955,7 @@ static wuffs_gif__status wuffs_gif__decoder__decode_id(
}
while (true) {
wuffs_base__io_reader__mark(&a_src, b_rptr_src);
// io_bind placeholder {
{
v_r = a_src;
{
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(15);
@@ -2980,7 +2980,7 @@ static wuffs_gif__status wuffs_gif__decoder__decode_id(
}
v_z = t_14;
}
// io_bind placeholder }
}
if (v_z == 0) {
goto label_1_break;
}