Skip to content

Commit

Permalink
Remove unused function from struct rb_parser_config_struct
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Apr 11, 2024
1 parent 76732b3 commit 87ad5ca
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion ruby_parser.c
Expand Up @@ -567,7 +567,6 @@ static const rb_parser_config_t rb_global_parser_config = {
.qnil = Qnil,
.qtrue = Qtrue,
.qfalse = Qfalse,
.qundef = Qundef,
.eArgError = arg_error,
.long2int = rb_long2int,

Expand Down
1 change: 0 additions & 1 deletion rubyparser.h
Expand Up @@ -1408,7 +1408,6 @@ typedef struct rb_parser_config_struct {
VALUE qnil;
VALUE qtrue;
VALUE qfalse;
VALUE qundef;
VALUE (*eArgError)(void);
int (*long2int)(long);

Expand Down
2 changes: 0 additions & 2 deletions universal_parser.c
Expand Up @@ -245,8 +245,6 @@
#define Qtrue p->config->qtrue
#undef Qfalse
#define Qfalse p->config->qfalse
#undef Qundef
#define Qundef p->config->qundef
#define rb_eArgError p->config->eArgError()
#undef rb_long2int
#define rb_long2int p->config->long2int
Expand Down

0 comments on commit 87ad5ca

Please sign in to comment.