[Github-comments] [geany/geany] Add ADA ctags parser (PR #3166)
elextr
notifications at github.com
Sun Apr 17 23:00:01 UTC 2022
Its literally, erm ... decades since I did any Ada, and I am not sure how much the language may have changed since then, but IIRC it doesn't have any more complex types than any other modern OO language, C++, Go, Rust etc but it does allow lots of constraints on them. But constraints are not of interest to ctags so (from a quick squiz at ada.c) they are simply skipped. Same with renames etc.
So the actual parser "copes" by ignoring. :smile: Only composite type definitions need their contents parsing.
The underlying Ada syntax is far more consistent than C/C++ so extracting the parts of interest is simpler than for those languages so I am not surprised the parser is simpler than the new C++ parser.
That said @kugel- is probably right that the tests don't cover all the options, but Ada users can always PR more tests upstream.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3166#issuecomment-1100963178
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3166/c1100963178 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220417/367a582c/attachment.htm>
More information about the Github-comments
mailing list