<p></p>
<blockquote>
<p dir="auto">I havn't tried this PR because I'm not sure how to test it, do you have any solid examples of ctags files, especially one that the existing parser fails on?</p>
</blockquote>
<p dir="auto">From looking at the code I think the Geany parser didn't handle escaping of some special characters so if they were present in ctags files, they didn't get unescaped. I mainly switched to the libreadtags library so the code gets simpler for us and we don't have to care about details of the ctags file format ourselves.</p>
<p dir="auto">Not related to parsing the ctags file, I also wanted to get the <code>typeref</code> field from tag files so we have function return values and variable types and also get <code>extras</code> for anonymous tag information (not used for anything in this patch, it waits for my anonymous tag handling patches).</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/3049#issuecomment-994815895">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2EA7OGVFYDTOVFDJDURCNFZANCNFSM5JUGWD2A">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ3XUMYF7SUPYD6HEZTURCNFZA5CNFSM5JUGWD2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHNF27FY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3049#issuecomment-994815895",
"url": "https://github.com/geany/geany/pull/3049#issuecomment-994815895",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>