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

cgen/parser: fix unions

This commit is contained in:
Alexander Medvednikov
2020-04-08 01:20:55 +02:00
parent cdcb8b6c06
commit 7ff0c3aaa9
5 changed files with 26 additions and 12 deletions

View File

@@ -540,6 +540,7 @@ pub struct Struct {
pub mut:
fields []Field
is_typedef bool // C. [typedef]
is_union bool
}
pub struct Enum {