typelib compiler: Passthrough <doc> at any point

This should have been in the previous commit.
This commit is contained in:
Colin Walters 2010-09-14 12:31:58 -04:00
parent 2e360c3fb7
commit 6bc078f1ee

View File

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