Expected EOF??

I have a code here and it says that its expected EOF, but found “Animation Anim” On line 3,1.
I get what EOF

#pragma strict

Animator : anim



function Start ()
{
    anim = GetComponent("Animator");
}


function Update ()
{
    float = Input.GetAxis ("Vertical");
    anim.SetFloat("Speed", move);


  
}

means, i just don’t see anything wrong with my script. Plz Help cause i cri evy tim

Shouldn’t line 3 be reversed? I thought it was name : Type. And it should start with ‘var’ and end with a semicolon

var anim : Animator;

EOF = End Of File

typically a missing ; somewhere.