mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
Revert "Check whether structure fields have a type"
This reverts commit 981eb84d8a
.
This commit is contained in:
parent
981eb84d8a
commit
370547a550
3
tccgen.c
3
tccgen.c
@ -2764,8 +2764,7 @@ static void struct_decl(CType *type, int u)
|
|||||||
bit_pos = 0;
|
bit_pos = 0;
|
||||||
offset = 0;
|
offset = 0;
|
||||||
while (tok != '}') {
|
while (tok != '}') {
|
||||||
if (parse_btype(&btype, &ad))
|
parse_btype(&btype, &ad);
|
||||||
expect("type");
|
|
||||||
while (1) {
|
while (1) {
|
||||||
bit_size = -1;
|
bit_size = -1;
|
||||||
v = 0;
|
v = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user