Getting error display out of the parser file