Parsing bad syntax files and asserting