vala r1459 - in trunk: . ccode



Author: juergbi
Date: Wed May 28 11:32:31 2008
New Revision: 1459
URL: http://svn.gnome.org/viewvc/vala?rev=1459&view=rev

Log:
2008-05-28  Juerg Billeter  <j bitron ch>

	* ccode/valaccodecastexpression.vala:

	Use parentheses to ensure that the full expression is cast


Modified:
   trunk/ChangeLog
   trunk/ccode/valaccodecastexpression.vala

Modified: trunk/ccode/valaccodecastexpression.vala
==============================================================================
--- trunk/ccode/valaccodecastexpression.vala	(original)
+++ trunk/ccode/valaccodecastexpression.vala	Wed May 28 11:32:31 2008
@@ -1,6 +1,6 @@
 /* valaccodecastexpression.vala
  *
- * 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
@@ -46,7 +46,8 @@
 		writer.write_string (type_name);
 		writer.write_string (") ");
 
+		writer.write_string ("(");
 		inner.write (writer);
-		writer.write_string (")");
+		writer.write_string ("))");
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]