typelib compiler: Passthrough <doc> at any point
authorColin Walters <walters@verbum.org>
Tue, 14 Sep 2010 16:31:58 +0000 (12:31 -0400)
committerColin Walters <walters@verbum.org>
Tue, 14 Sep 2010 16:31:58 +0000 (12:31 -0400)
This should have been in the previous commit.

girepository/girparser.c

index cff2305762a63335fb5a180092df793c2f22c832..a89aea2583d6d107913ea725646029e6c18809fe 100644 (file)
@@ -2123,7 +2123,7 @@ start_doc (GMarkupParseContext *context,
           ParseContext       *ctx,
           GError             **error)
 {
-  if (strcmp (element_name, "doc") != 0 || ctx->node_stack == NULL)
+  if (strcmp (element_name, "doc") != 0)
     return FALSE;
 
   state_switch (ctx, STATE_DOC);