vala r1675 - in trunk: . vala



Author: jaredm
Date: Sat Jul  5 12:42:23 2008
New Revision: 1675
URL: http://svn.gnome.org/viewvc/vala?rev=1675&view=rev

Log:
2008-07-05  Jared Moore  <jaredm svn gnome org>

	* vala/valaparser.vala:

	Add workaround for exception codegen problem, fixes bug 535247.


Modified:
   trunk/   (props changed)
   trunk/ChangeLog
   trunk/vala/valaparser.vala

Modified: trunk/vala/valaparser.vala
==============================================================================
--- trunk/vala/valaparser.vala	(original)
+++ trunk/vala/valaparser.vala	Sat Jul  5 12:42:23 2008
@@ -2359,7 +2359,8 @@
 		var base_types = new ArrayList<DataType> ();
 		if (accept (TokenType.COLON)) {
 			do {
-				base_types.add (parse_type ());
+				var type = parse_type ();
+				base_types.add (type);
 			} while (accept (TokenType.COMMA));
 		}
 		var iface = new Interface (sym.name, get_src_com (begin));



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