News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Syntax coloring: bool

Started by Armin, April 02, 2013, 02:14:08 AM

Previous topic - Next topic

Armin

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

#1
Quote from: timovjl on April 02, 2013, 11:00:27 AM
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.