2007-11-23 Juerg Billeter <j@bitron.ch>
* gobject-introspection/cparser.y: add support for anonymous structs
and unions (gcc extension)
svn path=/trunk/; revision=711
2007-11-23 Jürg Billeter <j@bitron.ch>
+ * gobject-introspection/cparser.y: add support for anonymous structs
+ and unions (gcc extension)
+
+2007-11-23 Jürg Billeter <j@bitron.ch>
+
* vapi/packages/poppler-glib/: update to use vala-gen-introspect
* vapi/poppler-glib.vapi: regenerated
;
struct_declarator
- : declarator
+ : /* empty, support for anonymous structs and unions */
+ {
+ $$ = csymbol_new (CSYMBOL_TYPE_INVALID);
+ }
+ | declarator
| ':' constant_expression
{
$$ = csymbol_new (CSYMBOL_TYPE_INVALID);