diff options
author | yui-knk <[email protected]> | 2024-04-10 18:30:20 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2024-04-11 11:56:28 +0900 |
commit | 87ad5ca3ca32624cb4817504d258c9a348fd279e (patch) | |
tree | 568119f133e8e19d6df3f77b30a99a10219f25da | |
parent | 76732b3e7b42d23290cd96cd695b2373172c8a43 (diff) |
Remove unused function from `struct rb_parser_config_struct`
-rw-r--r-- | ruby_parser.c | 1 | ||||
-rw-r--r-- | rubyparser.h | 1 | ||||
-rw-r--r-- | universal_parser.c | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/ruby_parser.c b/ruby_parser.c index 2d914e865b..12bfb18b1a 100644 --- a/ruby_parser.c +++ b/ruby_parser.c @@ -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, diff --git a/rubyparser.h b/rubyparser.h index 268e8deeff..5ba2da8de1 100644 --- a/rubyparser.h +++ b/rubyparser.h @@ -1408,7 +1408,6 @@ typedef struct rb_parser_config_struct { VALUE qnil; VALUE qtrue; VALUE qfalse; - VALUE qundef; VALUE (*eArgError)(void); int (*long2int)(long); diff --git a/universal_parser.c b/universal_parser.c index ecbc242f08..e6822c1bdc 100644 --- a/universal_parser.c +++ b/universal_parser.c @@ -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 |