[Github-comments] [geany] C, C++, C#, D: Improve return type and var type recognition (#889)
Jiří Techet
notifications at xxxxx
Wed Jan 27 10:28:48 UTC 2016
>
> - if (! st->gotArgs)
> - return vStringValue(st->firstToken->name); /* ignore non-functions */
> + switch (st->declaration) {
> + case DECL_BASE:
> + case DECL_FUNCTION:
> + case DECL_FUNCTION_TEMPLATE:
> + break;
> + default:
> + return vStringValue(st->firstToken->name);
> + }
>
> if (vt == NULL)
vt seems to be always NULL (not really related to your changes).
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/889/files#r50965061
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160127/4cad9d62/attachment.html>
More information about the Github-comments
mailing list