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

travis: spawn 2 separate windows instances

This commit is contained in:
Delyan Angelov
2019-09-15 15:52:12 +03:00
committed by Alexander Medvednikov
parent 3e923871cf
commit e3bd72e8e2
3 changed files with 32 additions and 13 deletions

View File

@ -329,6 +329,9 @@ fn (p mut Parser) gen_struct_init(typ string, t Type) bool {
}
else {
p.gen('($typ) {')
if t.fields.len == 1 && t.fields[0].name == '' && t.fields[0].typ.starts_with('EMPTY_STRUCT_DECLARATION') {
p.gen(' 0 /* v empty struct initialization */ ')
}
}
}
else {