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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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))