[Github-comments] [geany/geany] C: report forward type declarations as typedefs (#1313)

elextr notifications at xxxxx
Mon Nov 21 01:03:55 UTC 2016


@b4n, as you suspected this does have a side effect, `goto tag definition` and `goto_tag declaration` are no longer distinguishable and both pop up the list.

I traced `geany.glade` to `callbacks.c:on_goto_tag_definition1()` which calls `callbacks.c:goto_tag()` which calls `keybinding.c:keybindings_send_command()` which calls `keybindings.c:goto_tag()` which calls `symbols.c:symbols_goto_tag()` which calls `symbols.c:goto_tag()` which actually does something, thats three `goto_tag()` functions!!!!!!

The first [line](https://github.com/geany/geany/blob/b29a973217979f8a32e47460cad8b2bac165ef47/src/symbols.c#L2065) seems to be the culprit.  The symbol needs to be a different type so it can be added to the `forward_type` list.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1313#issuecomment-261820597
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161121/2f76e7d0/attachment.html>


More information about the Github-comments mailing list