vfmt: minor clean up

pull/3763/head
Alexander Medvednikov 2020-02-17 22:52:48 +01:00
parent 59beec8fae
commit 2ea2fed8a5
1 changed files with 1 additions and 11 deletions

View File

@ -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())
}