[Github-comments] [geany/geany] Use the official 'libreadtags' library from ctags for parsing ctags files (PR #3049)

Jiří Techet notifications at xxxxx
Wed Dec 15 13:57:48 UTC 2021


> I havn't tried this PR because I'm not sure how to test it, do you have any solid examples of ctags files, especially one that the existing parser fails on?

>From looking at the code I think the Geany parser didn't handle escaping of some special characters so if they were present in ctags files, they didn't get unescaped. I mainly switched to the libreadtags library so the code gets simpler for us and we don't have to care about details of the ctags file format ourselves.

Not related to parsing the ctags file, I also wanted to get the `typeref` field from tag files so we have function return values and variable types and also get `extras` for anonymous tag information (not used for anything in this patch, it waits for my anonymous tag handling patches).

-- 
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/3049#issuecomment-994815895
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211215/a25e5329/attachment.htm>


More information about the Github-comments mailing list