Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi,
I found a bug in the compiler's Replace All functionality. I had a code that contained a variable named command. The i wanted to rename it to menu_command. Then I put command in the find screen, menu_command to the replace screen and hit Replace All. The compiler transformed all command variables to menu_menu_menu_menu_command.
So it apparently didn't realise it had just created one additional command and ended up in perversive recursion. Fortunately it understood to stop on the fourth round.