diff options
author | Michael Forney <mforney@mforney.org> | 2019-02-18 23:03:07 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-02-18 23:03:07 -0800 |
commit | 8c3315e5119452b48978abaf955deaabdfd015de (patch) | |
tree | f6eab04beba3650dc07f3c233bad85a7a3b70368 /type.c | |
parent | 608c11d269d2ee74ea64906e627b36d1a50d01c0 (diff) |
void is an incomplete type
Diffstat (limited to 'type.c')
-rw-r--r-- | type.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ #include "backend.h" #include "type.h" -struct type typevoid = {.kind = TYPEVOID}; +struct type typevoid = {.kind = TYPEVOID, .incomplete = true}; struct type typechar = {.kind = TYPEBASIC, .size = 1, .align = 1, .repr = &i8, .basic = {.kind = BASICCHAR, .issigned = 1}}; struct type typeschar = {.kind = TYPEBASIC, .size = 1, .align = 1, .repr = &i8, .basic = {.kind = BASICCHAR, .issigned = 1}}; |