I'm not sure how robust our parser is against invalid input or updated ctags file format so better use the upstream version of the official library to parse ctags files so we don't have to worry about this.
In addition, this patch also updates the code to read all the ctags kinds we need in tagmanager. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3049
-- Commit Summary --
* Add ctags 'readtags' library to allow us parse ctags files * Use the readtags library to parse ctags files
-- File Changes --
M ctags/Makefile.am (2) A ctags/libreadtags/readtags.c (1310) A ctags/libreadtags/readtags.h (295) M src/tagmanager/Makefile.am (1) M src/tagmanager/tm_source_file.c (174)
-- Patch Links --
https://github.com/geany/geany/pull/3049.patch https://github.com/geany/geany/pull/3049.diff