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 =============== int main(int a, char** argv) { // Function "main" to be renamed to "main a" return a; } =============================================== After applying the refactoring, we have the resulting code: ============= Refactored Version ============== int main a(int a, char** argv) { // Renamed function return a; } =============================================== The refactoring tool allows to rename functions with invalid names, like the invalid identifier "main a", leading to a lexical error. A suggestion would be checking if the proposed rename is a well-formed name. Thanks in advance.