Well, sure. Some of them spell trouble. It's best to fix them if you can. (You should also enable warnings on your compiler if you haven't already.)

BTW, "parse error at end of input" usually means you have more opening curly braces than closing ones. I'm not sure exactly where.

A lot of your functions look pretty similar . . . .