Commit 9e2850e0 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

support typeof expressions for arrays

2007-09-09  Juerg Billeter  <j@bitron.ch>

	* vala/parser.y: support typeof expressions for arrays

svn path=/trunk/; revision=597
parent f7b407f3
2007-09-09 Jürg Billeter <j@bitron.ch>
* vala/parser.y: support typeof expressions for arrays
2007-09-09 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: add GLib.Type.INVALID constant
......
......@@ -880,7 +880,7 @@ sizeof_expression
}
typeof_expression
: TYPEOF open_parens type_name CLOSE_PARENS
: TYPEOF open_parens type CLOSE_PARENS
{
if ($3 == NULL) {
// error in subexpression
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment