techee commented on this pull request.
{
- e.extensionFields.scopeKind = &(AsciidocKinds [nl->type]); - e.extensionFields.scopeName = vStringValue (nl->name); + e.extensionFields.scopeKind = &(AsciidocKinds [parent->kind - AsciidocKinds]);
Indeed. Blame rst.c from uctags which I used as a template for these simple parsers. Don't blame me for not thinking while doing that :-).