1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

scanner: cleanup, only v.parser now depends on v.scanner

This commit is contained in:
Delyan Angelov
2020-04-27 16:08:04 +03:00
parent e9f764db4f
commit e67bf674e3
11 changed files with 81 additions and 90 deletions

View File

@@ -112,6 +112,7 @@ fn parse_args(args []string) (&pref.Preferences, string) {
mut res := &pref.Preferences{}
mut command := ''
mut command_pos := 0
res.is_fmt = util.is_fmt()
// for i, arg in args {
for i := 0; i < args.len; i++ {
arg := args[i]