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

ci: fix compilation (#8511)

This commit is contained in:
Lukas Neubert
2021-02-02 11:06:54 +01:00
committed by GitHub
parent d57a9c419d
commit 5aaeac79fa
5 changed files with 20 additions and 15 deletions

View File

@ -37,7 +37,7 @@ mut:
// parser context in the worker processes:
table table.Table
scope ast.Scope
pref pref.Preferences
pref &pref.Preferences
period_ms int // print periodic progress
stop_print bool // stop printing the periodic progress
}
@ -96,7 +96,9 @@ fn main() {
}
fn process_cli_args() &Context {
mut context := &Context{}
mut context := &Context{
pref: 0
}
context.myself = os.executable()
mut fp := flag.new_flag_parser(os.args_after('test-parser'))
fp.application(os.file_name(context.myself))