Hi,
the syntax highlighting in dev-cpp has 2 bugs.
(1) complex floats with "i" suffix
This is displayed in black, wheras "2.fi" or "2.if" should be recognized as a valid number.
const _Complex float z = cexpf( 2.fi * kPI * freq );
(2) asm blocks in gcc can confuse dev-cpp iff the opening bracket doesn't immediately follow the asm statement
asm( "nop" ); // ok asm ( "nop" ); // kills ighlighting for the rest of the document.
Thanks!
Anonymous
Logged In: NO
Oh, and while at it, syntax highlighting for hexadecimal floats, and the new binary number extension of GCC would also be cool.
Hex floats:
0x.ap0 // = 10/16
Binary:
0b10010100111
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
In fact the word asm with a space before and after, acts as a "end-of-comment" for /**/