gcc/
* gengtype-parse.c (struct_field_seq): Support empty structs.
From-SVN: r204411
+2013-11-05 David Malcolm <dmalcolm@redhat.com>
+
+ * gengtype-parse.c (struct_field_seq): Support empty structs.
+
2013-11-05 Uros Bizjak <ubizjak@gmail.com>
* config/i386/t-rtems (MULTILIB_MATCHES): Fix option typos.
(
type bitfield ';'
| type declarator bitfield? ( ',' declarator bitfield? )+ ';'
- )+
+ )*
Knows that such declarations must end with a close brace (or,
erroneously, at EOF).
const char *name;
bool another;
- do
+ while (token () != '}' && token () != EOF_TOKEN)
{
ty = type (&opts, true);
}
while (another);
}
- while (token () != '}' && token () != EOF_TOKEN);
return nreverse_pairs (f);
}