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

parser: fix mutability with chained fields

This commit is contained in:
kawa-yoiko
2019-08-31 01:19:06 +08:00
committed by Alexander Medvednikov
parent dae4c4b83f
commit 4f0f99e663
7 changed files with 110 additions and 23 deletions

View File

@ -11,19 +11,20 @@ import time
struct CGen {
out os.File
out_path string
typedefs []string
type_aliases []string
includes []string
thread_args []string
//types []string
thread_fns []string
consts []string
fns []string
so_fns []string
consts_init []string
//buf strings.Builder
is_user bool
mut:
lines []string
typedefs []string
type_aliases []string
includes []string
thread_args []string
consts []string
fns []string
so_fns []string
consts_init []string
pass Pass
nogen bool
tmp_line string