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



Author: johan
Date: Thu Aug  7 14:01:09 2008
New Revision: 317
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=317&view=rev

Log:
Reset current_node after parsing a class

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 14:01:09 2008
@@ -2035,6 +2035,7 @@
     case STATE_OBJECT:
       if (strcmp (element_name, "class") == 0)
 	{
+	  ctx->current_node = NULL;
 	  state_switch (ctx, STATE_NAMESPACE);
 	}
       break;



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