News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

r10308 issue: only allow alpha, number and space in macro definition?

Started by ollydbg, June 14, 2015, 09:43:09 AM

Previous topic - Next topic

ollydbg

In CC, we have many other special replacement rules, or some macro definitions which could have other than the chars in
static const wxRegEx reKey(wxT("^[[:alnum:]_]+$"), wxRE_EXTENDED);

See: Code Completion Design - CodeBlocks

So, this is an issue.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.