[Github-comments] [geany/geany] Question: adding a kind to exising parser of u-ctags (#2227)

Jiří Techet notifications at xxxxx
Wed Jul 24 17:53:44 UTC 2019


@masatake I don't think you have to care about anything when you add a new kind - it's Geany developer's business to make sure everything works. Yes, we have conversion tables for individual kinds but we also check if the number of entries inside the conversion tables matches the number of kinds defined in ctags parsers. Also, we check if the kind letters we have defined in the conversion tables correspond exist in the given parsers. See

https://github.com/geany/geany/blob/master/src/tagmanager/tm_parser.c#L672

When there's a mismatch, Geany refuses to start and writes an error message including the name of the parser.

Finally, we have unit tests for all the parsers which would fail in cases if you e.g. swapped kind letters of different kinds.

So I think we have all we need to detect such changes in parsers and fix them.

-- 
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/issues/2227#issuecomment-514734409
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190724/00752ede/attachment.html>


More information about the Github-comments mailing list