vala r1659 - in trunk: . vala



Author: jamiemcc
Date: Sun Jun 29 03:01:20 2008
New Revision: 1659
URL: http://svn.gnome.org/viewvc/vala?rev=1659&view=rev

Log:
2008-06-29  Jamie McCracken  <jamiemcc gnome org>

	* vala/valagenieparser.vala:

	Add workaround for exception codegen problem, fixes bug 539608.


Modified:
   trunk/ChangeLog
   trunk/vala/valagenieparser.vala

Modified: trunk/vala/valagenieparser.vala
==============================================================================
--- trunk/vala/valagenieparser.vala	(original)
+++ trunk/vala/valagenieparser.vala	Sun Jun 29 03:01:20 2008
@@ -2560,7 +2560,8 @@
 		var initializer = new InitializerList (get_src (begin));
 		if (current () != TokenType.DEDENT) {
 			do {
-				initializer.append (parse_variable_initializer ());
+				var init = parse_variable_initializer ();
+				initializer.append (init);
 			} while (accept (TokenType.COMMA));
 		}
 		if  (!accept (TokenType.CLOSE_PARENS)) {



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