[vala] dova: Fix memory handling of list, set, and map literals and tuples
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] dova: Fix memory handling of list, set, and map literals and tuples
- Date: Fri, 9 Jul 2010 14:29:50 +0000 (UTC)
commit 601bea5a7958fad85e30cda25d039e4a0aaf3f0e
Author: Jürg Billeter <j bitron ch>
Date: Fri Jul 9 16:19:42 2010 +0200
dova: Fix memory handling of list, set, and map literals and tuples
Fixes bug 623915.
vala/valalistliteral.vala | 4 +++-
vala/valamapliteral.vala | 4 +++-
vala/valasetliteral.vala | 4 +++-
vala/valatuple.vala | 2 ++
4 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/vala/valalistliteral.vala b/vala/valalistliteral.vala
index 9dd6a4a..b5012c4 100644
--- a/vala/valalistliteral.vala
+++ b/vala/valalistliteral.vala
@@ -1,6 +1,6 @@
/* valalistliteral.vala
*
- * Copyright (C) 2009 Jürg Billeter
+ * Copyright (C) 2009-2010 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -37,6 +37,8 @@ public class Vala.ListLiteral : Literal {
public override void accept (CodeVisitor visitor) {
visitor.visit_list_literal (this);
+
+ visitor.visit_expression (this);
}
public void add_expression (Expression expr) {
diff --git a/vala/valamapliteral.vala b/vala/valamapliteral.vala
index bf50a78..054babb 100644
--- a/vala/valamapliteral.vala
+++ b/vala/valamapliteral.vala
@@ -1,6 +1,6 @@
/* valamapliteral.vala
*
- * Copyright (C) 2009 Jürg Billeter
+ * Copyright (C) 2009-2010 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -40,6 +40,8 @@ public class Vala.MapLiteral : Literal {
public override void accept (CodeVisitor visitor) {
visitor.visit_map_literal (this);
+
+ visitor.visit_expression (this);
}
public void add_key (Expression expr) {
diff --git a/vala/valasetliteral.vala b/vala/valasetliteral.vala
index 4f490a5..6a6cc41 100644
--- a/vala/valasetliteral.vala
+++ b/vala/valasetliteral.vala
@@ -1,6 +1,6 @@
/* valasetliteral.vala
*
- * Copyright (C) 2009 Jürg Billeter
+ * Copyright (C) 2009-2010 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -37,6 +37,8 @@ public class Vala.SetLiteral : Literal {
public override void accept (CodeVisitor visitor) {
visitor.visit_set_literal (this);
+
+ visitor.visit_expression (this);
}
public void add_expression (Expression expr) {
diff --git a/vala/valatuple.vala b/vala/valatuple.vala
index a842ee6..75d22c4 100644
--- a/vala/valatuple.vala
+++ b/vala/valatuple.vala
@@ -40,6 +40,8 @@ public class Vala.Tuple : Expression {
public override void accept (CodeVisitor visitor) {
visitor.visit_tuple (this);
+
+ visitor.visit_expression (this);
}
public void add_expression (Expression expr) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]