News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

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.