If you have any code selected (highlighted) in the procedure you are working on, and you press Execute to same the procedure, you will get an error saying you have a error in your SQL code.
Deselect the code and the procedure will be saved without error.
To recreate the error, simply open any known good stored procedure. Select the first work in the procedure and press the "Execute" button. The error will be presented. Click anywhere to deselect the word, and press "Execute" again and the procedure will be saved.