[Github-comments] [geany/geany] Questions/discussions about build.c code (#2274)

elextr notifications at xxxxx
Sat Aug 24 11:50:21 UTC 2019


Originally the commands were one array indexable by the enumerators, but as its now several separate groups of variable size (at startup time).  The macros are intended to map the old enumerator names to the new organisation, the group and the command within that group.

I don't remember that long ago, but since C enum values are not limited to the values of the enumerators I suspect testing for out of range values was just ensuring a known return for out of range inputs.

-- 
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/2274#issuecomment-524544138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190824/774266e4/attachment.html>


More information about the Github-comments mailing list