2008-06-16 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala:
Constant arrays don't own their elements
svn path=/trunk/; revision=1607
* vala/valagenieparser.vala:
+ Constant arrays don't own their elements
+
+2008-06-16 Jamie McCracken <jamiemcc@gnome.org>
+
+ * vala/valagenieparser.vala:
+
Add support for overriding default method handlers of signals
that have been declared with the `virtual' modifier
}
expect_terminator ();
+ // constant arrays don't own their element
+ var array_type = type as ArrayType;
+ if (array_type != null) {
+ array_type.element_type.value_owned = false;
+ }
+
var c = new Constant (id, type, initializer, get_src_com (begin));
c.access = get_access (id);
set_attributes (c, attrs);