2008-04-13 Jürg Billeter <j@bitron.ch>
+ * vala/valaparser.vala: handle access modifier for signals
+
+2008-04-13 Jürg Billeter <j@bitron.ch>
+
* vala/Makefile.am, vala/valaassignment.vala,
vala/valabinaryexpression.vala, vala/valaclass.vala,
vala/valanamespace.vala, vala/valaparser.vala,
Signal parse_signal_declaration (Gee.List<Attribute> attrs) throws ParseError {
var begin = get_location ();
- parse_access_modifier ();
+ var access = parse_access_modifier ();
parse_member_declaration_modifiers ();
expect (TokenType.SIGNAL);
var type = parse_type ();
string id = parse_identifier ();
var sig = context.create_signal (id, type, get_src_com (begin));
+ sig.access = access;
set_attributes (sig, attrs);
expect (TokenType.OPEN_PARENS);
if (current () != TokenType.CLOSE_PARENS) {