From 2ea2fed8a59dc850a91430c967e577995b8ca1f4 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 17 Feb 2020 22:52:48 +0100 Subject: [PATCH] vfmt: minor clean up --- vlib/v/fmt/fmt.v | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/vlib/v/fmt/fmt.v b/vlib/v/fmt/fmt.v index 156145041f..dceaf4d460 100644 --- a/vlib/v/fmt/fmt.v +++ b/vlib/v/fmt/fmt.v @@ -20,16 +20,6 @@ struct Fmt { mut: indent int empty_line bool - /* - // vfmt fields TODO move to a separate struct - // fmt_out strings.Builder - fmt_lines []string - // fmt_line string - fmt_indent int - fmt_line_empty bool - // fmt_needs_nl bool - */ - } pub fn fmt(file ast.File, table &table.Table) { @@ -39,7 +29,7 @@ pub fn fmt(file ast.File, table &table.Table) { indent: -1 } f.stmts(file.stmts) - println('!!!!!!!!!') + println('vfmt output:') println(f.out.str()) }