vala r2396 - in trunk: . vapigen



Author: juergbi
Date: Tue Jan 20 20:47:55 2009
New Revision: 2396
URL: http://svn.gnome.org/viewvc/vala?rev=2396&view=rev

Log:
2009-01-20  JÃrg Billeter  <j bitron ch>

	* vapigen/valagirparser.vala:

	Support struct methods


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

Modified: trunk/vapigen/valagirparser.vala
==============================================================================
--- trunk/vapigen/valagirparser.vala	(original)
+++ trunk/vapigen/valagirparser.vala	Tue Jan 20 20:47:55 2009
@@ -460,7 +460,7 @@
 			} else if (reader.name == "constructor") {
 				parse_constructor ();
 			} else if (reader.name == "method") {
-				parse_method ("method");
+				st.add_method (parse_method ("method"));
 			} else {
 				// error
 				Report.error (get_current_src (), "unknown child element `%s' in `record'".printf (reader.name));



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