diff options
Diffstat (limited to 'girepository/girparser.c')
-rw-r--r-- | girepository/girparser.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c index d545d310..53450baf 100644 --- a/girepository/girparser.c +++ b/girepository/girparser.c @@ -2845,7 +2845,12 @@ start_element_handler (GMarkupParseContext *context, break; case 'f': - if (start_function (context, element_name, + if (strcmp ("function-macro", element_name) == 0) + { + state_switch (ctx, STATE_PASSTHROUGH); + goto out; + } + else if (start_function (context, element_name, attribute_names, attribute_values, ctx, error)) goto out; |