Revert "Check whether structure fields have a type"
authorThomas Preud'homme <robotux@celest.fr>
Thu, 31 Jan 2013 12:02:04 +0000 (31 13:02 +0100)
committerThomas Preud'homme <robotux@celest.fr>
Thu, 31 Jan 2013 12:02:04 +0000 (31 13:02 +0100)
tccgen.c

index d75b359..51ac0b1 100644 (file)
--- 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;