treat fatal warnings after syntax errors as syntax errors