mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
jsgen: implement js backend
This commit is contained in:
@@ -160,6 +160,13 @@ fn parse_args(args []string) (&pref.Preferences, string) {
|
||||
res.out_name = cmdline.option(args, '-o', '')
|
||||
i++
|
||||
}
|
||||
'-b' {
|
||||
b := pref.backend_from_string(cmdline.option(args, '-b', 'c')) or {
|
||||
continue
|
||||
}
|
||||
res.backend = b
|
||||
i++
|
||||
}
|
||||
else {
|
||||
mut should_continue := false
|
||||
for flag_with_param in list_of_flags_with_param {
|
||||
|
||||
Reference in New Issue
Block a user