Always use code-tags when posting code, posting it as plain-text is unreadable and almost impossible to reference. Also, warnings/errors don’t just give you a description, they also tell you exactly which line/column the problem occurs.
This error is coming from the compiler and is saying exactly what it sounds like; the compiler is expecting an end of file. This is likely because you’ve got too many or too few brackets; opening and closing brackets for methods, properties, classes (etc) need to match. This is something you can easily check yourself without a forum post.