vala r2076 - in trunk: . vapigen



Author: juergbi
Date: Fri Nov 28 19:31:16 2008
New Revision: 2076
URL: http://svn.gnome.org/viewvc/vala?rev=2076&view=rev

Log:
2008-11-28  JÃrg Billeter  <j bitron ch>

	* vapigen/valagirparser.vala:

	Support functions in classes


Modified:
   trunk/ChangeLog
   trunk/vapigen/valagirparser.vala

Modified: trunk/vapigen/valagirparser.vala
==============================================================================
--- trunk/vapigen/valagirparser.vala	(original)
+++ trunk/vapigen/valagirparser.vala	Fri Nov 28 19:31:16 2008
@@ -511,6 +511,8 @@
 				cl.add_property (parse_property ());
 			} else if (reader.name == "constructor") {
 				cl.add_method (parse_constructor ());
+			} else if (reader.name == "function") {
+				methods.add (parse_function ());
 			} else if (reader.name == "method") {
 				methods.add (parse_method ());
 			} else if (reader.name == "callback") {



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