compiler: fix building v with tcc on linux

pull/1817/head
Delyan Angelov 2019-09-01 14:12:37 +03:00 committed by Alexander Medvednikov
parent bfa6505636
commit 011afeb2ea
1 changed files with 1 additions and 1 deletions

View File

@ -2737,7 +2737,7 @@ fn (p mut Parser) array_init() string {
new_arr += '_no_alloc' new_arr += '_no_alloc'
} }
if i == 0 { if i == 0 && p.pref.ccompiler != 'tcc' {
p.gen(' 0 })') p.gen(' 0 })')
} else { } else {
p.gen(' })') p.gen(' })')