BCE0044: expecting EOF, Found 'var'

Hi, I can’t find a mistake in this script, maybe you can help me out here. It’s a simple melee script. Thank you

var : TheDamage : int = 50;
var : Distance : float;

function Update ()
{
	if (input.GetButtonDown("Fire"))
	{
		var hit : RaycastHit;
		if (Physics.Raycast (transform.position, transformDirection(Vector3.forward), hit))
		{
			Distance = hit.distance;
			hit.trasnform.SendMessage("ApplyDamage", TheDamage, SendMessageOptions.DontRequireReceiver);
		}
	}
}

There are extra “:” after var in the first two lines:

var : TheDamage : int = 50;
var : Distance : float;

They should be like this:

var TheDamage : int = 50;
var Distance : float;