Commit 6b5baca1 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

support enum values

2006-10-08  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support enum values

svn path=/trunk/; revision=145
parent 935f3f59
2006-10-08 Jürg Billeter <j@bitron.ch>
* vala/parser.y: support enum values
2006-10-06 Jürg Billeter <j@bitron.ch>
* NEWS: update for 0.0.4 release
......
Vala 0.0.4
==========
* Support + operator in strings.
* Support unicode character literals.
* Add implicit conversions for numeric types.
......
......@@ -2775,6 +2775,11 @@ enum_member_declaration
$$ = vala_enum_value_new ($2);
g_free ($2);
}
| opt_attributes IDENTIFIER ASSIGN expression
{
$$ = vala_enum_value_new ($2);
g_free ($2);
}
;
flags_declaration
......
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