Remove uneeded int2big property for Universal Parser
This commit is contained in:
parent
f07ef1d54c
commit
4e7e972841
Notes:
git
2023-08-05 02:39:57 +00:00
@ -681,7 +681,6 @@ rb_parser_config_initialize(rb_parser_config_t *config)
|
|||||||
|
|
||||||
config->bignum_negate = bignum_negate;
|
config->bignum_negate = bignum_negate;
|
||||||
config->big_norm = rb_big_norm;
|
config->big_norm = rb_big_norm;
|
||||||
config->int2big = rb_int2big;
|
|
||||||
config->cstr_to_inum = rb_cstr_to_inum;
|
config->cstr_to_inum = rb_cstr_to_inum;
|
||||||
|
|
||||||
config->float_new = rb_float_new;
|
config->float_new = rb_float_new;
|
||||||
|
@ -458,7 +458,6 @@ typedef struct rb_parser_config_struct {
|
|||||||
/* Bignum */
|
/* Bignum */
|
||||||
void (*bignum_negate)(VALUE b);
|
void (*bignum_negate)(VALUE b);
|
||||||
VALUE (*big_norm)(VALUE x);
|
VALUE (*big_norm)(VALUE x);
|
||||||
VALUE (*int2big)(intptr_t n);
|
|
||||||
VALUE (*cstr_to_inum)(const char *str, int base, int badcheck);
|
VALUE (*cstr_to_inum)(const char *str, int base, int badcheck);
|
||||||
|
|
||||||
/* Float */
|
/* Float */
|
||||||
|
@ -225,7 +225,6 @@ struct rb_imemo_tmpbuf_struct {
|
|||||||
|
|
||||||
#define bignum_negate p->config->bignum_negate
|
#define bignum_negate p->config->bignum_negate
|
||||||
#define rb_big_norm p->config->big_norm
|
#define rb_big_norm p->config->big_norm
|
||||||
#define rb_int2big p->config->int2big
|
|
||||||
#define rb_cstr_to_inum p->config->cstr_to_inum
|
#define rb_cstr_to_inum p->config->cstr_to_inum
|
||||||
|
|
||||||
#define rb_float_new p->config->float_new
|
#define rb_float_new p->config->float_new
|
||||||
|
Loading…
x
Reference in New Issue
Block a user