'Unexpected' means that the grammar requires a token before the one the parser is complaining about, so look leftwards and upwards (and you shall find the one dclamp mentions).