Unexpected Symbol

I was watching a tutorial and i did the same code, it worked for everyone but me.

Assets/Controller/WorldController.cs(25,46): error CS1525: Unexpected symbol `SpriteRenderer’

is the error im getting

Here is the code.

using UnityEngine;
using System.Collections;

public class WorldController : MonoBehaviour {

	public Sprite floorSprite;

	World world;

	// Use this for initialization
	void Start () {
		world = new World();
		world.RandomizeTiles();

		//create a gamobject for each of our tiles

		for (int x = 0; x < world.Width; x++) {
			for (int y = 0; y < world.Hight; y++) {
				Tile tile_data = world.GetTileAt (x, y);

				GameObject tile_go = new GameObject();
				tile_go.name = "Tile_" + x + "_" + y;
				tile_go.transform.position = new Vector3( tile_data.X, tile_data.Y, 0)
					
				SpriteRenderer tile_sr = tile_go.AddComponent<SpriteRenderer>();
				
				if(tile_data.Type == Tile.TileType.Floor) {
					tile_sr.sprite = floorSprite;

				}

			}
		}
	}

}

Thank you in advance.

You simply have missed a semi-colon the line before :

tile_go.transform.position = new Vector3( tile_data.X, tile_data.Y, 0) ;