Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Patch 3407: correctly parse c++98 enums
killerbot:
YES : this updated patch seems to work correctly ;D
MortenMacFly:
--- Quote from: oBFusCATed on January 21, 2013, 10:24:50 pm ---p2rkw: Can you try to add some tests? See Morten's comment.
--- End quote ---
I've done it. Please test against them:
https://svn.berlios.de/svnroot/repos/codeblocks/trunk/src/plugins/codecompletion/testing/structs_typedefs_enums.cbp
...respectively:
https://svn.berlios.de/svnroot/repos/codeblocks/trunk/src/plugins/codecompletion/testing/structs_typedefs_enums.cpp
Martin K.:
Hi,
whats about typedef union and unnamed members? It seems that something like this:
typedef union
{
unsigned short Value;
struct
{
unsigned short Var1:6;
unsigned short Var2:10;
};
}
SOME_ID, *PSOME_ID;
could not be found.
MortenMacFly:
--- Quote from: Martin K. on January 22, 2013, 11:01:54 am ---whats about typedef union and unnamed members? It seems that something like this:
--- End quote ---
...added another test case to SVN (and fixed some warnings).
ollydbg:
--- Quote from: Martin K. on January 22, 2013, 11:01:54 am ---Hi,
whats about typedef union and unnamed members? It seems that something like this:
typedef union
{
unsigned short Value;
struct
{
unsigned short Var1:6;
unsigned short Var2:10;
};
}
SOME_ID, *PSOME_ID;
could not be found.
--- End quote ---
I think this bug should be discussed in another thread :), and let's focus on handling emun declaration in this thread.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version