It's very mysterious when this error occurs in a big function and it's not one of the obvious extra-semicolon errors.