vala r1429 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1429 - in trunk: . vala
- Date: Sun, 25 May 2008 13:52:50 +0000 (UTC)
Author: juergbi
Date: Sun May 25 13:52:50 2008
New Revision: 1429
URL: http://svn.gnome.org/viewvc/vala?rev=1429&view=rev
Log:
2008-05-25 Juerg Billeter <j bitron ch>
* vala/valaparser.vala: fix warning with pointer casts
Modified:
trunk/ChangeLog
trunk/vala/valaparser.vala
Modified: trunk/vala/valaparser.vala
==============================================================================
--- trunk/vala/valaparser.vala (original)
+++ trunk/vala/valaparser.vala Sun May 25 13:52:50 2008
@@ -807,7 +807,7 @@
case TokenType.SIZEOF:
case TokenType.TYPEOF:
case TokenType.IDENTIFIER:
- if (!type.value_owned) {
+ if (!(type is PointerType) && !type.value_owned) {
Report.warning (get_src (begin), "obsolete syntax, weak type modifier unused in cast expressions");
}
var inner = parse_unary_expression ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]