diff options
author | Jared Moore <jaredm@svn.gnome.org> | 2008-06-26 01:06:01 +0000 |
---|---|---|
committer | Jared William Moore <jaredm@src.gnome.org> | 2008-06-26 01:06:01 +0000 |
commit | 2cf649052881e7d6678ccf9d725d441bb57cd987 (patch) | |
tree | 58e8ec9e034e1d75e47857c52f2d3e1b9293dac0 | |
parent | 2dfad6face2173fde0d800fbbfe5122e6acc4223 (diff) | |
download | vala-2cf649052881e7d6678ccf9d725d441bb57cd987.tar.gz |
Add workaround for exception codegen problem, fixes bug 539608.
2008-06-26 Jared Moore <jaredm@svn.gnome.org>
* vala/valaparser.vala:
Add workaround for exception codegen problem, fixes bug 539608.
svn path=/trunk/; revision=1648
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | vala/valaparser.vala | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2008-06-26 Jared Moore <jaredm@svn.gnome.org> + + * vala/valaparser.vala: + + Add workaround for exception codegen problem, fixes bug 539608. + 2008-06-25 Jared Moore <jaredm@svn.gnome.org> * vapi/glib-2.0.vapi: diff --git a/vala/valaparser.vala b/vala/valaparser.vala index f164d8534..25c0a5bcb 100644 --- a/vala/valaparser.vala +++ b/vala/valaparser.vala @@ -2068,7 +2068,8 @@ public class Vala.Parser : CodeVisitor { var initializer = new InitializerList (get_src (begin)); if (current () != TokenType.CLOSE_BRACE) { do { - initializer.append (parse_variable_initializer ()); + var init = parse_variable_initializer (); + initializer.append (init); } while (accept (TokenType.COMMA)); } expect (TokenType.CLOSE_BRACE); |