mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Generate code for "mark in.dst".
The generated code is ugly and the language design is not finalized, but the flate_backref_crosses_blocks test (testing a correctness bug) now passes. We can fix the ugliness in subsequent commits.
This commit is contained in:
1 parent
83c8faef4d
commit
21bbbd422f
11 files changed
+107
-24
No files matched your search
@@ -69,7 +69,8 @@ func (g *gen) writeStatement(b *buffer, n *a.Node, depth uint32) error {
|
||||
return nil
|
||||
|
||||
case a.KIO:
|
||||
b.writes("/* placeholder */\n")
|
||||
// TODO: the mark needs to apply on every (coroutine) call to the
|
||||
// function, not just when we execute this particular statement.
|
||||
return nil
|
||||
|
||||
case a.KIf:
|
||||
|
||||
Reference in new issue
Block a user