Unity saying there's an error on a line that doesn't exist...

I have a script with 17 lines. Unity says there’s an error on line 18 (I made sure it was the same script). It says something like ‘Expecting ), got "’

Edit: Sorry for not posting the script. It turns out I did have an unclosed bracket. Sorry about wasting your time.

Most likely you forgot a bracket somewhere so it’s expecting the conditions of a function to be closed.

If you can post your script we should be able to tell you where the error is.