Raggart is right, its probably a { or }, more than likely a } in fact.
Use some form of editor to find the number of { and }s in your script. I use EditPlus2 (its a free 890k download from download.com).
If you use a find and replace quite often it gives the number of changes, so change { or { (ie no change) and } for } and see if the numbers are the same, if they are, if could be the line above (99% of these being a missing 😉 but at the end of the script, missing braces in the most common reason.
Missing ()s errors are normally reported as being on the line that they occur on.