summaryrefslogtreecommitdiff
path: root/ccode/valaccodeelementaccess.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2008-11-30 08:34:15 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-11-30 08:34:15 +0000
commit1c44feaa9222d1680dedb760921ba415874e4077 (patch)
treea894b844ed050b5a3cd3de39b2ad115a094694c2 /ccode/valaccodeelementaccess.vala
parent1161589c702601e6561e4b3650eac0b5a7990c59 (diff)
downloadvala-1c44feaa9222d1680dedb760921ba415874e4077.tar.gz
Fix generated parentheses
2008-11-30 Jürg Billeter <j@bitron.ch> * vala/valaforeachstatement.vala: * ccode/valaccodebinaryexpression.vala: * ccode/valaccodecastexpression.vala: * ccode/valaccodeelementaccess.vala: * ccode/valaccodeexpression.vala: * ccode/valaccodememberaccess.vala: * ccode/valaccodeunaryexpression.vala: Fix generated parentheses svn path=/trunk/; revision=2091
Diffstat (limited to 'ccode/valaccodeelementaccess.vala')
-rw-r--r--ccode/valaccodeelementaccess.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccode/valaccodeelementaccess.vala b/ccode/valaccodeelementaccess.vala
index b176ea326..dc62485ba 100644
--- a/ccode/valaccodeelementaccess.vala
+++ b/ccode/valaccodeelementaccess.vala
@@ -1,7 +1,7 @@
/* valaccodememberaccess.vala
*
* Copyright (C) 2006 Raffaele Sandrini
- * Copyright (C) 2006 Jürg Billeter
+ * Copyright (C) 2006-2008 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
@@ -45,7 +45,7 @@ public class Vala.CCodeElementAccess : CCodeExpression {
}
public override void write (CCodeWriter writer) {
- container.write (writer);
+ container.write_inner (writer);
writer.write_string ("[");
index.write (writer);
writer.write_string ("]");