Community
Participate
Working Groups
Eclipse IDE for C/C++ Developers Version: Kepler Service Release 1 Build id: 20130919-0819 Reproducing the bug: Consider the following code: ======== Original Version ======== #define identifier_0 float gvar_0 = -1; void f_0() { int var_0 = -1; var_0 = 100; } float f_1(float var_0) { return gvar_0; } ================================== Now, let's rename the macro "identifier_0" to "*identifier_0" Applying the refactoring: ========== Refactored ============ #define *identifier_0 float gvar_0 = -1; void f_0() { int var_0 = -1; var_0 = 100; } float f_1(float var_0) { return gvar_0; } ================================= The tool shouldn't allow to apply invalid transformations like this. Notice that now the program has a compilation error. It would be good if it was possible to prevent the use of invalid names when renaming. Thanks in advance.
Correcting: * Now, let's rename the macro "identifier_0" to "*identifier_0"
Ignore this. Sorry. (In reply to Gustavo Wagner from comment #1) > Correcting: > * Now, let's rename the macro "identifier_0" to "*identifier_0"