What to do when it says ecpecting''', found '\r'.

It keeps saying it

You forgot something.
since you thought we could not help you more if you would paste the code snipped i have to make assumptions:

you forgot parenthesis (, you forgot a semicolon ;, you forgot an apostrophe "