Check for Errors

Checks the syntax of the current code block.