diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-06-13 23:16:39 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-06-13 23:16:39 +0200 |
| commit | 7fcf6248a623170a7521f6f1b42e0fae2e3518da (patch) | |
| tree | b234a044b5389460a31d9cbf95c0b75efb39481c /src | |
| parent | e76009bff1dc9ff544fd4e7dd18d5ffa0b0af424 (diff) | |
odinfmt: fix using stmt regression
Diffstat (limited to 'src')
| -rw-r--r-- | src/odin/printer/visit.odin | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/odin/printer/visit.odin b/src/odin/printer/visit.odin index 24c8264..4e07f02 100644 --- a/src/odin/printer/visit.odin +++ b/src/odin/printer/visit.odin @@ -574,7 +574,6 @@ visit_stmt :: proc(p: ^Printer, stmt: ^ast.Stmt, block_type: Block_Type = .Gener #partial switch v in stmt.derived { case ^Using_Stmt: document = cons(document, cons_with_nopl(text("using"), visit_exprs(p, v.list, {.Add_Comma}))) - return document case ^Block_Stmt: document = cons(document, visit_state_flags(p, v.state_flags)) |