vala r1196 - in trunk: . vala



Author: juergbi
Date: Sun Apr 13 11:48:43 2008
New Revision: 1196
URL: http://svn.gnome.org/viewvc/vala?rev=1196&view=rev

Log:
2008-04-13  Juerg Billeter  <j bitron ch>

	* vala/valaparser.vala: allow object creation expressions in
	  expression statements


Modified:
   trunk/ChangeLog
   trunk/vala/valaparser.vala

Modified: trunk/vala/valaparser.vala
==============================================================================
--- trunk/vala/valaparser.vala	(original)
+++ trunk/vala/valaparser.vala	Sun Apr 13 11:48:43 2008
@@ -1097,6 +1097,7 @@
 		case TokenType.THIS:
 		case TokenType.OPEN_PARENS:
 		case TokenType.STAR:
+		case TokenType.NEW:
 			return parse_expression_statement ();
 		}
 



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