Did you open the sketch file or entered it with Cut&Paste??
Could be that a <SPACE> was changed to <SHIFT-SPACE> which usually you cannot easily ?distinguish in the editor. Maybe manually typing in the source code from the line the compiler complains about could help.