Correctly check for syntax errors. IMFF.