<p><b>@techee</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2018#discussion_r242371090">ctags/parsers/asciidoc.c</a>:</p>
<pre style='color:#555'>> @@ -78,7 +78,7 @@ static void makeAsciidocTag (const vString* const name, const int kind)
        {
                tagEntryInfo e;
 
-               initTagEntry (&e, vStringValue (name), &(AsciidocKinds [kind]));
+               initTagEntry (&e, vStringValue (name), kind);
 
                e.lineNumber--; /* we want the line before the '---' underline chars */
 
</pre>
<p>No, this is correct - it's the "Use kindIndex instead of kindDefinition" patch mentioned above. It's now enough to use the index (which is "kind" here) instead of the value from the structure.</p>
<p>But the problem seems to be this patch:</p>
<p><a class="commit-link" href="https://github.com/geany/geany/commit/3e8365c7f2285c32ef1372f45afd698449a01ac4#diff-349c047a4c33ab772a7ad84be2c13b4c"><tt>3e8365c</tt>#diff-349c047a4c33ab772a7ad84be2c13b4c</a></p>
<p>Upstream there's some additional comment why using cork isn't good in this case:</p>
<p><a href="https://github.com/universal-ctags/ctags/blob/master/parsers/asciidoc.c">https://github.com/universal-ctags/ctags/blob/master/parsers/asciidoc.c</a></p>
<p>I'll prepare a patch tomorrow to fix that.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2018#discussion_r242371090">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJxWXXfJoh4TWCeQ96uZkS_L3Sbjeks5u6DoegaJpZM4ZXOnd">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ0mEAq7TIKHHHe3SceprW3QK2Gclks5u6DoegaJpZM4ZXOnd.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@techee commented on #2018"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/2018#discussion_r242371090"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2018#discussion_r242371090",
"url": "https://github.com/geany/geany/pull/2018#discussion_r242371090",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>