draza
Senior Member
France
48 Posts |
Posted - Oct 08 2004 : 10:38:26 AM
|
Have a look at this colored snippet (note that my settings are more or less like default VA except that types are colored with color "Navy"):
class problematic { protected: enum { PROBLEM_P = 1 << 1, NO_PROBLEM_P = 1 << 2, }; public: char * problem_p() { return "problem"; }
void no_problem() { } };
Notice that enum PROBLEM_P is colored the same as method. This happens only if the method is called exactly the same as enum, and until manual refresh (after you enter both symbols for the first time) the situation is actually reverse - method is colored as if it was an enum.
Looks like weird confusion on "light" parser side - I think it is case insensitive, but should not be (on top of confusing enums and functions )
It's only minor annoyance for me, btw. |
This problem when solved will be simple |
|