2007-02-27 Jürg Billeter <j@bitron.ch>
* vala/parser.y: accept interfaces with base types
svn path=/trunk/; revision=202
+2007-02-27 Jürg Billeter <j@bitron.ch>
+
+ * vala/parser.y: accept interfaces with base types
+
2007-02-26 Jürg Billeter <j@bitron.ch>
* vala/valasymbolresolver.vala: fix error handling with unknown
;
interface_declaration
- : comment opt_attributes opt_access_modifier INTERFACE IDENTIFIER opt_name_specifier opt_type_parameter_list
+ : comment opt_attributes opt_access_modifier INTERFACE IDENTIFIER opt_name_specifier opt_type_parameter_list opt_class_base
{
char *name = $5;
}
g_list_free ($7);
}
+ if ($8 != NULL) {
+ GList *l;
+ for (l = $8; l != NULL; l = l->next) {
+ vala_interface_add_base_type (current_interface, l->data);
+ g_object_unref (l->data);
+ }
+ g_list_free ($8);
+ }
}
interface_body
{