check for syntax errors in compiled files