It sounds like you might have made a mistake with spacing, which happens very easily, especially cutting and pasting. I would suggest to check the column and row numbered with Gnome editor, although the error message often gives the wrong ones due to errors.
If it's not a mess up in the text just keep trying and eventually you should get it.
Also, open up the file, and see if there is any junk text on the bottom (I don't know where it comes from, but when I work on a unit or build prod file for a long time sometimes junk text fragments end up on the bottom, and cause problems.) If you find any carefully delete them, being careful not to erase any important symbols, lines or spaces.
Justin