[Github-comments] [geany/geany] Use cxx parser from uctags (PR #3032)

Jiří Techet notifications at xxxxx
Sun Nov 28 22:25:35 UTC 2021


> You can use isTagExtraBitMarked() declared in ctags:main/entry.h to detect whether a tag is anonymous or not.
As the extra parameter, use XTAG_ANONYMOUS declared in main/entry.h.

Yep, I'm aware of that and I want to address that in the future. The problem is that our internal representation of tags `TMTag`

https://github.com/geany/geany/blob/eabc09a5591e8f2efd95ca136f5870c8dcba5483/src/tagmanager/tm_tag.h#L87

doesn't contain a field where this information could be stored and adding more fields is an ABI change because this structure is accessible to plugins so better avoid that. But I think we could use the `pointerOrder` integer inside `TMTag` which is just some legacy field unused by anything neither in Geany nor plugins and could convert it to a flag field where information about whether a tag is anonymous or not could be stored.

-- 
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/3032#issuecomment-981163631
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211128/ee1999cb/attachment-0001.htm>


More information about the Github-comments mailing list