Bug #15428 2009-03-23 14:26

codeblocks_evk

Parser doesn't parse struct declaration

Given the following C code snippet:

typedef struct TT {

const char *name;

} TT;

#define A 0x0020 /**< Format

raw picture data. */

typedef struct SS {

const char *name;

} SS;

If clicking on TT, click "Find declaration of 'TT'" - the app follows to TT declaration. But clicking on SS and "Find declaration of 'SS'" displays "Not found 'SS'". Looks like #define + multiline comment breaks the parser.

I'm using C::B 8.02 release on Vista.

Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2010-10-15 12:40
Assigned to
loaden
ollydbg 2009-03-28 14:50

I tested the code. It works fine in nightly build version.

loaden 2010-10-15 12:40

This bug is now fixed in HEAD.

Thank you for reporting it.