vala r2100 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2100 - in trunk: . vala
- Date: Sun, 30 Nov 2008 13:52:27 +0000 (UTC)
Author: juergbi
Date: Sun Nov 30 13:52:27 2008
New Revision: 2100
URL: http://svn.gnome.org/viewvc/vala?rev=2100&view=rev
Log:
2008-11-30 JÃrg Billeter <j bitron ch>
* vala/valaelementaccess.vala:
Fix error handling in element access expressions
Modified:
trunk/ChangeLog
trunk/vala/valaelementaccess.vala
Modified: trunk/vala/valaelementaccess.vala
==============================================================================
--- trunk/vala/valaelementaccess.vala (original)
+++ trunk/vala/valaelementaccess.vala Sun Nov 30 13:52:27 2008
@@ -31,13 +31,23 @@
/**
* Expression representing the container on wich we want to access.
*/
- public Expression container { get; set; }
-
+ public Expression container {
+ get {
+ return _container;
+ }
+ set {
+ _container = value;
+ _container.parent_node = this;
+ }
+ }
+
/**
* Expressions representing the indices we want to access inside the container.
*/
private Gee.List<Expression> indices = new ArrayList<Expression> ();
+ Expression _container;
+
public void append_index (Expression index) {
indices.add (index);
index.parent_node = this;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]