mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 08:47:56 +01:00
Add io_bind history_position arg
This commit is contained in:
1 parent
b60a2cacd9
commit
28a54baa19
11 files changed
+87
-24
No files matched your search
@@ -343,6 +343,10 @@ func (g *gen) writeStatementIOBind(b *buffer, n *a.IOBind, depth uint32) error {
|
||||
if err := g.writeExpr(b, n.Arg1(), false, 0); err != nil {
|
||||
return err
|
||||
}
|
||||
b.writes(",\n")
|
||||
if err := g.writeExpr(b, n.HistoryPosition(), false, 0); err != nil {
|
||||
return err
|
||||
}
|
||||
b.writes(");\n")
|
||||
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user