User forums > Using Code::Blocks

Syntax Highlight is ignore #undef instruction effect?

(1/2) > >>

kextvizi:
///Syntax Highlight is ignore #undef instruction effect?

///Version of Code::Blocks:  Release 12.11 rev 8629

#include <iostream>

#define a
#undef a

#ifdef a
int b=1234;//Not marded as ignore code
#endif

#ifdef b
int c;//this is ok,is marked as ignore code
#endif
int main(void)
{
    std::cout<<b;
    return 0;
}
2013-7-4/23:57:31 add:
other ,why I encounter an error"The upload folder is full. Please try a smaller file and/or contact an administrator. " when I doing upload file?(file size is less than 128kb)
2013-7-5/21:07:22 add:
upload folder at where?

Alpha:
#undef is implemented, but the feature had not made it into 12.11; if you would like to use it, try the latest nightly, or download and compile from SVN.

p2rkw:
Btw. @Alpha: syntax hightlighter completly ignores #defines from other files (included headers), but parser recognize them wery well. If you want to fix it just collect defines in pareser and send them to hightlighter (fourth keywords set as far I remember).

kextvizi:

--- Quote from: p2rkw on July 04, 2013, 09:33:00 pm ---Btw. @Alpha: syntax hightlighter completly ignores #defines from other files (included headers), but parser recognize them wery well. If you want to fix it just collect defines in pareser and send them to hightlighter (fourth keywords set as far I remember).

--- End quote ---

I'm sorry I did not understand,you mean are that bug can fix by set Code::Blocks edit?
but I not find one way for that set.

other ,why I encounter an error"The upload folder is full. Please try a smaller file and/or contact an administrator. " when I doing upload file?(file size is less than 128kb)

Upload folder at where?

oBFusCATed:

--- Quote from: kextvizi on July 05, 2013, 03:06:08 pm ---Upload folder at where?

--- End quote ---
Use image sharing site - imageshank, photobucket, dropbox, etc... Space here is limited and attachments get deleted randomly, when we ran out of space.

Navigation

[0] Message Index

[#] Next page

Go to full version