NO

Author Topic: Syntax coloring: bool  (Read 3267 times)

Armin

  • Guest
Syntax coloring: bool
« on: April 02, 2013, 02:14:08 AM »
While using pelles i noticed that the coloring of keyword bool is incorrect.

While all types are colored blue; int, long, char, even _Bool , the type bool isn't, It has the same color as macros.
Could bool be changed to blue?

Image: http://postimg.org/image/80a9hebg1/

I'm using Pelles C v 7.00.355, and no add-ins, it's a clean install.


Armin

  • Guest
Re: Syntax coloring: bool
« Reply #1 on: April 02, 2013, 02:34:07 PM »
bool comes from stdbool.h as macro.
bool is not a C keyword.

Ok, but why color it the same way as macro then, other typedefed and macroed names stay default color ( black ), why would bool be special. Just leave it black.

To clarify:
Of course when defining macros the coloring is red, but after that the word used in the code is black, but not bool.
« Last Edit: April 02, 2013, 02:39:02 PM by Armin »