vala r1230 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1230 - in trunk: . vala
- Date: Mon, 14 Apr 2008 21:04:19 +0100 (BST)
Author: juergbi
Date: Mon Apr 14 21:04:19 2008
New Revision: 1230
URL: http://svn.gnome.org/viewvc/vala?rev=1230&view=rev
Log:
2008-04-14 Juerg Billeter <j bitron ch>
* vala/valaparser.vala: improve error handling, fixes bug 528073
Modified:
trunk/ChangeLog
trunk/vala/valaparser.vala
Modified: trunk/vala/valaparser.vala
==============================================================================
--- trunk/vala/valaparser.vala (original)
+++ trunk/vala/valaparser.vala Mon Apr 14 21:04:19 2008
@@ -2048,7 +2048,8 @@
expect (TokenType.OPEN_PARENS);
if (current () != TokenType.CLOSE_PARENS) {
do {
- method.add_parameter (parse_parameter ());
+ var param = parse_parameter ();
+ method.add_parameter (param);
} while (accept (TokenType.COMMA));
}
expect (TokenType.CLOSE_PARENS);
@@ -2541,7 +2542,8 @@
expect (TokenType.OPEN_PARENS);
if (current () != TokenType.CLOSE_PARENS) {
do {
- method.add_parameter (parse_parameter ());
+ var param = parse_parameter ();
+ method.add_parameter (param);
} while (accept (TokenType.COMMA));
}
expect (TokenType.CLOSE_PARENS);
@@ -2579,7 +2581,8 @@
expect (TokenType.OPEN_PARENS);
if (current () != TokenType.CLOSE_PARENS) {
do {
- d.add_parameter (parse_parameter ());
+ var param = parse_parameter ();
+ d.add_parameter (param);
} while (accept (TokenType.COMMA));
}
expect (TokenType.CLOSE_PARENS);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]