<p><a href="https://github.com/b4n" class="user-mention">@b4n</a> Yeah, forgot to handle one more "else" case. It should be fixed now. I modified the logic slightly because I think we should also remove all tags (regardless whether they have something to do with typedefs or not) which are at the same line as the cursor - these won't cause any real goto.</p>

<p>By the way in your example you will never see int Abc(void); - this is a declaration, not definition.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/923#issuecomment-192340962">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5GdCRZHfSNQnrieS540yZ62jr8Mks5pqFtvgaJpZM4HlaDx.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/923#issuecomment-192340962"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>