How do I change this `)' expecting identifier?

using UnityEngine;

public class gun : MonoBehaviour {

public float damage = 10f;
public float range = 100f;

public Camera fpsCam;

// Update is called once per frame
void Update () {

	if(Input.GetButtonDown("Fire1"))
	{
		Shoot();
	}

}

void Shoot ()
{

	RaycastHit hit;
	if (Physics.Raycast(fpsCam.transform.position, fpsCam.transform.forward, out hit, range))
	{
		Debug.Log(hit.transform.name);

		Targett target = hit.transform.GetComponent<Targett>();
		if (target != null)
		{
			target.TakeDamage(damage);
		}
	}
}

}

Debug.log is just text, I believe, and needs quotations… Debug.Log (“hello”);
if you want to know what the raycast is hitting ,change that to …print (hit.transform.name);
Don’t know if that solves your problem. It would help us to show the error code