TODO for the second assignment in CS143 Parsers take care of error handling as described in Section 5 "Error Handling" in PA2.pdf.