Add debug print, fix includes
authorColin Walters <walters@src.gnome.org>
Sat, 23 Aug 2008 16:36:15 +0000 (16:36 +0000)
committerColin Walters <walters@src.gnome.org>
Sat, 23 Aug 2008 16:36:15 +0000 (16:36 +0000)
svn path=/trunk/; revision=470

girepository/girparser.c
tests/scanner/annotation-expected.gir
tests/scanner/drawable-expected.gir

index 5b42856..df2d6c1 100644 (file)
@@ -467,6 +467,7 @@ parse_type (ParseContext *ctx, const gchar *type)
   str = g_strdup (type);
   node = parse_type_internal (str, &rest);
   g_free (str);
+  g_debug ("Parsed type: %s => %d", type, node->tag);
 
   return node;
 }
index d8f5349..221710e 100644 (file)
@@ -5,6 +5,7 @@
             xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
   <include name="GLib"/>
   <include name="GObject"/>
+  <include name="utility"/>
   <namespace name="annotation" shared-library="libannotation.la">
     <record name="Object" c:type="AnnotationObject">
       <field name="parent_instance">
index 55d2266..2388970 100644 (file)
@@ -5,6 +5,7 @@
             xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
   <include name="GLib"/>
   <include name="GObject"/>
+  <include name="utility"/>
   <namespace name="drawable" shared-library="libdrawable.la">
     <class name="TestDrawable"
            c:type="TestDrawable"