gobject-introspection r319 - branches/gir-compiler/tools



Author: johan
Date: Thu Aug  7 20:25:41 2008
New Revision: 319
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=319&view=rev

Log:
Allow type for boxed field end tags too

Modified:
   branches/gir-compiler/tools/girparser.c

Modified: branches/gir-compiler/tools/girparser.c
==============================================================================
--- branches/gir-compiler/tools/girparser.c	(original)
+++ branches/gir-compiler/tools/girparser.c	Thu Aug  7 20:25:41 2008
@@ -2156,6 +2156,8 @@
       break;
 
     case STATE_BOXED_FIELD:
+      if (strcmp ("type", element_name) == 0)
+	break;
       if (require_end_element (context, "field", element_name, error))
 	{
 	  state_switch (ctx, STATE_BOXED);



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