error CS8025: Parsing error

Please someone re do my code so my red warning will leave!

Here is my code:

using UnityEngine;
using System.Collections;

public class GoldPerSec : MonoBehaviour {

public UnityEngine.UI.Text gpsDisplay;
public Click click;
public ItemManager[] items;

void Start(){
	StartCoroutine (AutoTick ());
}

void Update(){
	gpsDisplay.text = GetGoldPerSec () + " gold/sec";
}

public int GetGoldPerSec(){
	int tick = 0;
	foreach(ItemManager item in items){
		tick += item.count * item.tickValue;
	}
	return tick;
}

public void AutoGoldPerSec(){
	click.gold += GetGoldPerSec ();	
}

IEnumerator AutoTick(){
	while(true){
		AutoGoldPerSec();
		yield return new WaitForSeconds(1);
	{
}

}

FIXED!

I have fixed the cod

:smiley: