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

cmd/v: rewrite flags

This commit is contained in:
lutherwenxu
2020-03-07 01:53:29 +08:00
committed by GitHub
parent 522de0871a
commit aab31f4b35
37 changed files with 1087 additions and 464 deletions

View File

@ -951,7 +951,7 @@ fn (p mut Parser) factor() string {
return typ
}
else {
if p.pref.is_verbose || p.pref.is_debug {
if p.pref.verbosity.is_higher_or_equal(.level_three) {
next := p.peek()
println('prev=${p.prev_tok.str()}')
println('next=${next.str()}')