Adding parser_error to parse_ident.