stop parsing on syntax error