Adding parser_error to parse_literal.