compiler: fix regression for -d option flag

pull/3119/head
Delyan Angelov 2019-12-16 17:55:10 +02:00 committed by Alexander Medvednikov
parent b30f989f44
commit 7e0a9fb83a
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ pub fn get_v_options_and_main_command(args []string) ([]string,string) {
continue
}else{
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