@b4n Thanks for the patches, I've added them to this pull request and also removed the currently unused code from asciidoc and rest parsers.
I guess it's kind of safe to assume now that there won't be too many changes in this pull request, right? If so (and if I have some time left this week), I can start checking what changes have been made in the current ctags master in the last two years which we might need to have all the necessary stuff from main so we can just take over parsers from ctags.