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

parser: fix fibonacci in silent mode (#7240)

This commit is contained in:
Daniel Däschle
2020-12-10 17:17:25 +01:00
committed by GitHub
parent 916a64935a
commit 1c56ff7faf
4 changed files with 6 additions and 4 deletions

View File

@ -13,7 +13,7 @@ fn main() {
args := os.args[1..self_idx]
jargs := args.join(' ')
obinary := cmdline.option(args, '-o', '')
sargs := if obinary != '' { jargs } else { '$jargs -o v2 ' }
sargs := if obinary != '' { jargs } else { '$jargs -o v2' }
cmd := '$vexe $sargs cmd/v'
options := if args.len > 0 { '($sargs)' } else { '' }
println('V self compiling ${options}...')