mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: fix compilation (#8511)
This commit is contained in:
parent
d57a9c419d
commit
5aaeac79fa
5 changed files with 20 additions and 15 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue