Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => CodeCompletion redesign => Topic started by: childinsilence on October 07, 2010, 06:33:33 am

Title: Preprocessor define not found
Post by: childinsilence on October 07, 2010, 06:33:33 am
Hi,

Revision 6673 will fail to detect defines, which are inside of #ifdefs:

Code: [Select]
#define BLA
#ifdef BLA
#define BLUBB 1234
#end

int test()
{
    return BLUBB;
}

BLUBB is not detected. It isn't shown in the symbol browser under "Preprocessor symbols" and will be not completed when pressing CRTL+Space.
Title: Re: Preprocessor define not found
Post by: Loaden on October 07, 2010, 07:47:29 am
confirmed! :(
Title: Re: Preprocessor define not found
Post by: Loaden on October 07, 2010, 01:28:28 pm
Fixed in r6676. :D
Title: Re: Preprocessor define not found
Post by: childinsilence on October 08, 2010, 07:37:28 am
Confirmed and marvelous. :D