@elextr commented on this pull request.
}
- else if (0 == strcmp(key, "file")) /* static (local) tag */ - tag->local = TRUE; - else if (0 == strcmp(key, "signature")) /* arglist */ + else + g_array_append_val(unknown_fields, i); + } + + if (!tag->scope) + { + /* search for scope introduced by scope kind name only after going + * through all extension fields and having tag->lang updated when + * "language" field is present */ + for (idx = 0; !tag->scope && idx < unknown_fields->len; idx++)
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/re... see item 6