mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix v -cstrict -cc gcc vlib/v/gen/native/macho_test.v
This commit is contained in:
parent
2a4604b5f9
commit
d4e89de8fb
@ -19,7 +19,7 @@ pub fn new_eval(table &ast.Table, pref &pref.Preferences) Eval {
|
||||
type Symbol = Object | ast.EmptyStmt | ast.FnDecl
|
||||
|
||||
pub struct Eval {
|
||||
pref &pref.Preferences
|
||||
pref &pref.Preferences = unsafe { nil }
|
||||
pub mut:
|
||||
table &ast.Table = unsafe { nil }
|
||||
mods map[string]map[string]Symbol
|
||||
|
@ -443,7 +443,7 @@ struct Section {
|
||||
name string
|
||||
mut:
|
||||
header SectionHeader
|
||||
data SectionData
|
||||
data SectionData = DynSymSection{}
|
||||
}
|
||||
|
||||
fn (mut g Gen) create_section(name string, typ int, link int, info int, addralign i64, entsize i64, data SectionData) Section {
|
||||
|
Loading…
Reference in New Issue
Block a user