1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

lots of vfmt fixes

This commit is contained in:
Alexander Medvednikov
2019-12-17 17:28:25 +03:00
parent 67cf7f18e6
commit 53b334145b
8 changed files with 100 additions and 49 deletions

View File

@@ -20,6 +20,7 @@ pub mut:
varg_access []VargAccess
//enum_vals map[string][]string
//names []Name
max_field_len map[string]int // for vfmt: max_field_len['Parser'] == 12
}
struct VargAccess {
@@ -120,6 +121,7 @@ pub mut:
is_placeholder bool
gen_str bool // needs `.str()` method generation
is_flag bool // enum bitfield flag
//max_field_len int
}
struct TypeNode {