Added more implementation of parser_error.