Bug #19017 2013-06-08 02:03

raynebc

Tilde character breaks "find declaration"

If right clicking on a defined macro that immediately follows a logical not character, a "not found" error is given instead of browsing to the line of code where it is defined. For example:

#define MYFLAG 1

value = ~MYFLAG;

Right clicking on MYFLAG from the second line gives the failure message. I confirmed that Code::Blocks already has handling to filter out the OR (|), AND (&) and XOR (^) logical operators, but the ~ is not being handled. Is this behavior for no other reason than this character is used in the name of object destructors? Can the behavior be improved to treat this like the other logical operators if C++ isn't being used in the project/source file?

Category
Application::WrongBehaviour
Group
 
Status
Open
Close date
 
Assigned to