girparser: Serialize and read back the instance_parameter

g-ir-doc-tool wants to use the instance parameter to read docs
and the parameter name, so it needs to be shuttled through the
GIR.

https://bugzilla.gnome.org/show_bug.cgi?id=693040
This commit is contained in:
Jasper St. Pierre 2013-01-31 09:36:07 -05:00
parent 06dfbc7dcb
commit ee4ee72ac3

View File

@ -2831,6 +2831,11 @@ start_element_handler (GMarkupParseContext *context,
attribute_names, attribute_values,
ctx, error))
goto out;
else if (strcmp (element_name, "instance-parameter") == 0)
{
state_switch (ctx, STATE_PASSTHROUGH);
goto out;
}
else if (strcmp (element_name, "c:include") == 0)
{
state_switch (ctx, STATE_C_INCLUDE);