mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: fix regression for -d option flag
This commit is contained in:
parent
b30f989f44
commit
7e0a9fb83a
@ -14,7 +14,7 @@ pub fn get_v_options_and_main_command(args []string) ([]string,string) {
|
|||||||
continue
|
continue
|
||||||
}else{
|
}else{
|
||||||
options << a
|
options << a
|
||||||
if a in ['-o', '-os', '-cc', '-cflags'] { i++ }
|
if a in ['-o', '-os', '-cc', '-cflags', '-d'] { i++ }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// potential_commands[0] is always the executable itself, so ignore it
|
// potential_commands[0] is always the executable itself, so ignore it
|
||||||
|
Loading…
Reference in New Issue
Block a user