Code::Blocks Forums

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:

#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