<p>This fixes crashes when using incomplete "type" declarations.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #2358.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="506907220" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2358" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2358/hovercard" href="https://github.com/geany/geany/issues/2358">#2358</a>, <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #2982.">fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1045673667" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2982" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2982/hovercard" href="https://github.com/geany/geany/issues/2982">#2982</a> and <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #2428.">fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="556095480" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2428" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2428/hovercard" href="https://github.com/geany/geany/issues/2428">#2428</a>.</p>
<p>The <code>initTagEntry()</code> call is necessary to initialize the <code>TagEntryInfo</code> object. The <code>KIND_GHOST_INDEX</code> argument is taken from the uctags Pascal parser.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2987'>https://github.com/geany/geany/pull/2987</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/geany/geany/pull/2987/commits/4d0874e184fb8093ffd8d39acb54902cc3497a5a">Pascal parser: ensure TagEntryInfo is always initialized</a></li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/geany/geany/pull/2987/files">4 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2987/files#diff-50e87ca465ff57b602a4f21009a83a0d499bf39658741f1cca862ca55e912c81">ctags/parsers/geany_pascal.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2987/files#diff-4426f92832c2b868109d5890bbfaec02e7ab860b88ede70993fe49b682beab44">tests/ctags/Makefile.am</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany/pull/2987/files#diff-2bac3615f574b5fa2ca778a2391f3fb926062a148d17e68c64473660cb34494c">tests/ctags/issue2358.pas</a>
    (20)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany/pull/2987/files#diff-dc8217b1f03deca682a7933bce27c77346f5c84e30406c7f5431f864562bb8f4">tests/ctags/issue2358.pas.tags</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2987.patch'>https://github.com/geany/geany/pull/2987.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2987.diff'>https://github.com/geany/geany/pull/2987.diff</a></li>
</ul>

<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/2987">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZPDYOAY7P62FUDZPTUKT2GNANCNFSM5HPNNTUA">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/AAIOWJ4KQTGJMGNAFHZJKHLUKT2GNA5CNFSM5HPNNTUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PS743OQ.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/2987",
"url": "https://github.com/geany/geany/pull/2987",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>