diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-12-06 13:03:24 +0100 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-12-06 13:03:24 +0100 |
| commit | b37fc717c7ecc9a62e052c94a373fddde66352ad (patch) | |
| tree | bc3fa42b0c9b06b5bff2cdeefa6dbeaa094496bf /src | |
| parent | bff765a58b3128f05b518be7254dd6ecb206b492 (diff) | |
Odinfmt: Fixes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/odin/printer/visit.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odin/printer/visit.odin b/src/odin/printer/visit.odin index bf53d71..ba7c61c 100644 --- a/src/odin/printer/visit.odin +++ b/src/odin/printer/visit.odin @@ -945,7 +945,7 @@ visit_expr :: proc(p: ^Printer, expr: ^ast.Expr, options := List_Options{}) -> ^ document := text_position(p, "enum", v.pos) if v.base_type != nil { - document = cons(document, visit_expr(p, v.base_type)) + document = cons_with_nopl(document, visit_expr(p, v.base_type)) } if len(v.fields) == 0 || v.pos.line == v.end.line { |