Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
strong enum support
ollydbg:
--- Quote from: ollydbg on December 19, 2010, 02:10:44 pm ---
--- Code: ---NOtice something else, when hovering over a struct it also says :
class FooStruct, where I guess we should say : struct FooStruct , right ?
--- End code ---
confirmed, I think this can be fixed easily, I will look into it right now.
--- End quote ---
oh, I found that there is not "struct" Token...
see the declaration:
--- Code: ---enum TokenKind
{
// changed in order to reflect the priority
tkNamespace = 0x0001,
tkClass = 0x0002,
tkEnum = 0x0004,
tkTypedef = 0x0008, // typedefs are stored as classes inheriting from the typedef'd type (taking advantage of existing inheritance code)
tkConstructor = 0x0010,
tkDestructor = 0x0020,
tkFunction = 0x0040,
tkVariable = 0x0080,
tkEnumerator = 0x0100,
tkPreprocessor = 0x0200,
tkMacro = 0x0400,
// convenient masks
tkAnyContainer = tkClass | tkNamespace | tkTypedef,
tkAnyFunction = tkFunction | tkConstructor | tkDestructor,
// undefined or just "all"
tkUndefined = 0xFFFF
};
--- End code ---
so, the "struct" is recorded as "class"...
not easy to change, because we need to change a lot if we add a new "struct" type.
Navigation
[0] Message Index
[*] Previous page
Go to full version