vala r1195 - in trunk: . vala



Author: juergbi
Date: Sun Apr 13 10:59:29 2008
New Revision: 1195
URL: http://svn.gnome.org/viewvc/vala?rev=1195&view=rev

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

	* vala/valaparser.vala: handle access modifier for signals


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

Modified: trunk/vala/valaparser.vala
==============================================================================
--- trunk/vala/valaparser.vala	(original)
+++ trunk/vala/valaparser.vala	Sun Apr 13 10:59:29 2008
@@ -2103,12 +2103,13 @@
 
 	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) {



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