We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
When #defines are created using the project settings rather than in the source code, the syntax highlighter incorrectly dims sections between #ifdef / #endif blocks in header files.
For example, if I define DEBUG in the project settings and then have this in a header file:
// header.h#ifdef DEBUGvoid do_debug_thing(); // this line dimmed incorrectly#endif
// header.h
#ifdef DEBUG
void do_debug_thing(); // this line dimmed incorrectly
#endif
Does this make sense? I'm using the latest Keil V5 as of 18th January 2023.
Thanks,Charlie.