User forums > General (but related to Code::Blocks)
code coloring changed and incorrect for keyword "override"
killerbot:
Yes, i do. i Will be back ...
Jenna:
http://sourceforge.net/p/codeblocks/code/10132/
killerbot:
Thanks, @thomas, what was the rationale of kicking 'final, override' out of the list ?
thomas:
Unintentional, please feel free to re-add these!
I first added noexcept because it was really annoying that this one wasn't highlighted. Doing that, I stumbled over the obsolete N2018 types and corrected these to the final standard ones, and promptly detected the obsolete proposal align_union which I removed.
Then I said to myself, well, that is all nice and good, but there's already so many things, let's make sure no other mistake has creeped in.
So I tossed it all overboard and took the complete list of valid keywords (including one reserved keyword) from the standard. This is where override and final got unintentionally dropped. Happens that they aren't keywords at all, but obviously one would want to color them as such anyway. Sorry about that.
oBFusCATed:
They're context-aware-keywords or something like this.
This is done in order to not break code which uses override/final for identifier/function names. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version