This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil MDK Editor Greying out

Hello, found out one strange Editor bug. If you are defining some macro before including a file in which you are checking aforementioned macro with any preprocessor directive, idependent code will be shown as grayed out, while being active. While it is not a critical bug, it is certainly annoying.

Here is an example:
   file 1, main.h 

      file 2, dependent on define in file main.h

              file 2, another layer of ifdef check (only for example)

  Here is even an error! But...

 All is fine, and Rebuild has only warnings in other parts of code (here i'm writing an CMSIS-Driver, so much much work ahead).

Also Auto-completion works just fine!