From: Thomas Preud'homme Date: Thu, 31 Jan 2013 12:02:04 +0000 (+0100) Subject: Revert "Check whether structure fields have a type" X-Git-Tag: release_0_9_26~44 X-Git-Url: https://repo.or.cz/w/tinycc.git/commitdiff_plain/370547a550e73d91e95cac6145a7df7947025bb0 Revert "Check whether structure fields have a type" This reverts commit 981eb84d8ab91aafe73d5eeb218ffe31d28b1014. --- diff --git a/tccgen.c b/tccgen.c index d75b359f..51ac0b15 100644 --- a/tccgen.c +++ b/tccgen.c @@ -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;