Syntax error

I can’t activate directory plugin by an error..

The error messages that appear in the plug-in page is:

Parse error: syntax error, unexpected $end in /var/www/html/wp-content/plugins/directory/core/core.php on line 965

What should I do to fix this error?

Thanks,