mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Indent the io_bind block
This commit is contained in:
1 parent
395890c287
commit
4588cdcf5f
2 files changed
+4
-4
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:
|
||||
|
||||
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user