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

fix sruct access modifiers (pub, pub mut, mut)

This commit is contained in:
Alexander Medvednikov
2019-12-13 17:18:01 +03:00
parent fc64238a39
commit 78131e78bc
6 changed files with 44 additions and 31 deletions

View File

@ -20,6 +20,7 @@ struct Parser {
file_pcguard string
v &V
pref &Preferences // Preferences shared from V struct
kek string
mut:
scanner &Scanner
tokens []Token
@ -75,7 +76,7 @@ mut:
sql_types []string // int, string and so on; see sql_params
is_vh bool // parsing .vh file (for example `const (a int)` is allowed)
generic_dispatch TypeInst
pub:
pub mut:
mod string
}