Added syntax error recovery.