Revert "Check whether structure fields have a type"

This reverts commit 981eb84d8a.
master
Thomas Preud'homme 2013-01-31 13:02:04 +01:00
parent 981eb84d8a
commit 370547a550
1 changed files with 1 additions and 2 deletions

View File

@ -2764,8 +2764,7 @@ static void struct_decl(CType *type, int u)
bit_pos = 0;
offset = 0;
while (tok != '}') {
if (parse_btype(&btype, &ad))
expect("type");
parse_btype(&btype, &ad);
while (1) {
bit_size = -1;
v = 0;