[Github-comments] [geany/geany] Use some parsers from uctags with better implementation (PR #3035)

Jiří Techet notifications at xxxxx
Mon Dec 20 09:40:37 UTC 2021


> yeah, some contributors were improving them when there was no upstream. But they stopped before an upstream became available. Probably would be nice to share upstream.

The "better" part is mostly the ability of Geany's c.c to give return type of functions and types of global variables which is missing in the upstream c.c. The problem is that this is done in a rather hacky way to just record the part that might be a type in the preprocessor, keeping it completely unparsed, cleaning it from possible comments inside, and then presenting it as a type. The upstream c.c. is using a different preprocessor (`cpreprocessor.c` like the cxx parser, not the old `lcpp` that Geany uses for c.c) and I'm not sure they would be interested in the solution Geany uses.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3035#issuecomment-997758066
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3035/c997758066 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211220/41b787dc/attachment-0001.htm>


More information about the Github-comments mailing list