From: Jared Moore Date: Sat, 5 Jul 2008 12:42:23 +0000 (+0000) Subject: Add workaround for exception codegen problem, fixes bug 535247. X-Git-Tag: VALA_0_3_5~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=281971f3eb50e475e46252defcb07d5cb5b19dae;p=thirdparty%2Fvala.git Add workaround for exception codegen problem, fixes bug 535247. 2008-07-05 Jared Moore * vala/valaparser.vala: Add workaround for exception codegen problem, fixes bug 535247. svn path=/trunk/; revision=1675 --- diff --git a/ChangeLog b/ChangeLog index 0b6ef8999..705709995 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-07-05 Jared Moore + + * vala/valaparser.vala: + + Add workaround for exception codegen problem, fixes bug 535247. + 2008-07-05 Jürg Billeter * vapi/Makefile.am: diff --git a/vala/valaparser.vala b/vala/valaparser.vala index 1e4e5ebc5..86066ffec 100644 --- a/vala/valaparser.vala +++ b/vala/valaparser.vala @@ -2359,7 +2359,8 @@ public class Vala.Parser : CodeVisitor { var base_types = new ArrayList (); 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));