Error CS1525: Unexpected Symbol movement

Okay, so this is a C# script I have that’s supposed to make the player move. I know there are assets for this, but I’m still learning C# so I want to experiment with as much code as possible. Anyways, let me show you the code I have so far

using UnityEngine;
using System.Collections;

[RequireComponent(typeof(CharacterController))]
[AddComponentMenu("Control Script/FPS Input")]
public class FPSInput : MonoBehaviour {
	public float speed = 6.0f;
	public float gravity = -9.8f;

	private CharacterController _charController;

	void Start() {
		_charController = GetComponent<CharacterController> ();
	}

	void Update() {
		float deltaX = Input.GetAxis ("Horizontal") * speed;
		float deltaY = Input.GetAxis ("Vertical") * speed;
		Vector3 movement = new Vector3 (deltaX, 0, deltaZ)
		movement = Vector3.ClampMagnitude(movement, speed);

		movement.y = gravity;

		movement *= Time.deltaTime;
		movement = transform.TransformDirection(movement);
		_charController.Move(movement);
	}
}

The error is in “movement = Vector3.ClampMagnitude(movement, speed);” (I bolded the specific spot where the error is). I have no clue why there is the unexpected symbol error here, since I literally copied and pasted this from my script from another game I was messing with in which the script worked perfectly. No clue what’s wrong, if anyone has any idea what’s wrong please help me out :smiley:

You’re missing a semi-colon at the end of the previous statement (just before the one you mention).