DEVCPP 4.9.8.9 - Syntax highlighting error
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
Try this line in DEVCPP4989 editor
Preprocessor
<> are highlighed like symbols
project.h mystring.h are highlighed like normal text.
or
Preprocessor
(__APP_SOFTWARE__==SMSP2)|| \ (__APP_SOFTWARE__==SLLP1)|| \ (__APP_SOFTWARE__==SPKS1)|| \ (__APP_SOFTWARE__==STDP1))
backslash '\' doesn't link several preprocesor
'if' lines.
Logged In: YES
user_id=591019
the preprocessor behavior behind the # has been changes a
few version ago. it used to highlight everything behind the
. now it just highlights the text before the whitespace.
I don't know, if this was a wanted behavior or if it's a
small glitch, that came in a few versions back.
Logged In: YES
user_id=936015
Hi,
this isn't really a bug, but the preprocessor thingy needs a bit
finetuning, to only colorize the #if directive instead of the
whole line.
Here is more info: https://sourceforge.net/forum/forum.php?
thread_id=1047376&forum_id=33286
Logged In: YES
user_id=936015
OK, changed the 2nd case from this example.
It only highlights "#if" now, instead of the entire first line.