I can't find the error, was hoping someone with fresh eyes could take a look

the error read - Assets/Fighter.cs(37,1): error CS8025: Parsing error

public class Fighter : MonoBehaviour
{
public GameObject opponent;

public AnimationClip attack;

public int damage;

// Use this for initialization
void Start ()
{

}

// Update is called once per frame
void Update ()
{
	if (Input.GetKey (KeyCode.Space)) 
	{
		animation.Play (attack.name);
		ClickToMove.attack= true;
		if(opponent!=null)
		{

		transform.LookAt(opponent.transform.position);
			opponent.GetComponents<Mob>().getHit(damage);

		}
	if(!animation.IsPlaying(attack.name))
	{
		ClickToMove.attack=false;
	}
}

}

I think you are missing a closing } at the very end (to close Class)

you miss closing } to closing if (Input.GetKey (KeyCode.Space))
check that again.
under

transform.LookAt(opponent.transform.position);
opponent.GetComponents().getHit(damage);