Fixed prepareError to return a SyntaxError.
Throw an error for content outside blocks.

Silently discarding content could have caused confusion.