Nicer reporting of syntax and other errors