Unexpected Token: ;.

I am having some trouble with an OnTriggerEnter bit of code.
I am trying to cause a sequence of Game Objects to activate/deactive on collision.
I want to figure most of the code out on my own but I keep getting stuck with two errors and from what my limited knowledge I don’t see the problem.

#pragma strict
    
    function Start () {
    
    }
    
    var midline_lights : GameObject;
    var yfoul : GameObject;
    var bender : GameObject;
    
    midline_lights.SetActiveRecursively (false);
    yfoul.SetActiveRecursively (false);
    
    function OnTriggerEnter (other : Collider); {
    
    	midline_lights.SetActiveRecursively (true);
    	yfoul.SetActiveRecursively (true); 
    	yield WaitForSeconds (3);
    	yfoul.SetActiveRecursively (false);
    	yield WaitForSeconds(6);
    	midline_lights.SetActiveRecursively (false);
    	
    }
    function Update () {
    
    }

I get these two errors

Assets/cross_midline1.js(14,33): BCE0043: Unexpected token: ;.

Assets/cross_midline1.js(16,47): BCE0044: expecting :, found ‘;’.

If anyone could help me I would greatly appreciate it.

function OnTriggerEnter (other : Collider);

should be
function OnTriggerEnter (other : Collider)

notice the lack of the ;
mark as answered and have a nice day.

Thanks Sparkzbarca!