Author Topic: Problem with Syntax highlighting of include directives  (Read 141 times)

Offline lucrol

  • Single posting newcomer
  • *
  • Posts: 6
Problem with Syntax highlighting of include directives
« on: Yesterday at 11:17:55 am »
Hello !
In this code :
Code
void internationalisation() {
#if (defined(_WIN32) || defined(_WIN64))     // Using Windows 10 !
    system("CHCP 65001 > NUL");
#else
    ;// Linux terminal normaly in UTF-8, nothing to do
#endif // _WINxx
}
I use CB on Windows 10 and the else branch is hilighted !?
What's the matter?
Bests regards

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1744
Re: Problem with Syntax highlighting of include directives
« Reply #1 on: Yesterday at 11:47:26 am »
Have you checked "Include host platform defines" in Editor -> Settings -> General settings -> C/C++ Editor settings?