User forums > Using Code::Blocks

C: CB's knowledge on #defines is unreliable

<< < (2/2)

hanshuckebein:

--- Quote ---Just keep in mind that the macro parser in Scintilla is primitive and doesn't support complex cases, so in theory this feature would never work reliably.
--- End quote ---

Then the best would be a switch to disable that feature, since unreliable highlighting is very confusing in files with a lot of conditional blocks, like in the headers of avr-lib.

oBFusCATed:
There is already such option. Settings -> Editor -> General -> Somewhere...

BlueHazzard:
Settings->Editor settings->General settings->C/C++ Editor settings->Interpret #if,#else.....

Navigation

[0] Message Index

[*] Previous page

Go to full version