Add `parsers/c-based.c` from ctags (the only change was to remove the `macroConditionRoleIndex` argument to `cppInit` as our ctags doesn't have it yet).
This is work in progress, I am making a list of things which aren't handled correctly that were by Geany: * function template calltips - the runtime parameter list is not shown * `template` decl members don't have parent * TODO other things Improvements: * `alias foo = bar;` now parsed * `static if` bodies now parsed but don't set parent * more tag types rather than reusing existing types, listed under templates, aliases, mixins * mixin statements now parsed You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/3479 -- Commit Summary -- * Add warning that geany_c.c is not used for C & C++ * [D] Switch to mainline ctags parser * Tweak tagmanager types -- File Changes -- M ctags/Makefile.am (1) A ctags/parsers/c-based.c (3073) M ctags/parsers/geany_c.c (11) M meson.build (1) M src/tagmanager/tm_parser.c (20) -- Patch Links -- https://github.com/geany/geany/pull/3479.patch https://github.com/geany/geany/pull/3479.diff -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3479 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/[email protected]>
