ruby-changes:49869
From: mame <ko1@a...>
Date: Sun, 21 Jan 2018 01:32:00 +0900 (JST)
Subject: [ruby-changes:49869] mame:r61989 (trunk): parse.y: Remove macros that are no longer used
mame 2018-01-21 01:21:28 +0900 (Sun, 21 Jan 2018) New Revision: 61989 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61989 Log: parse.y: Remove macros that are no longer used Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 61988) +++ parse.y (revision 61989) @@ -483,8 +483,6 @@ static VALUE const_decl(struct parser_pa https://github.com/ruby/ruby/blob/trunk/parse.y#L483 static VALUE var_field(struct parser_params *p, VALUE a); static VALUE assign_error(struct parser_params *p, VALUE a); -#define block_dup_check(p, n1,n2) ((void)(n1), (void)(n2)) -#define fixpos(n1,n2) ((void)(n1), (void)(n2)) #undef nd_set_line #define nd_set_line(n,l) ((void)(n)) @@ -640,11 +638,6 @@ static void ripper_error(struct parser_p https://github.com/ruby/ruby/blob/trunk/parse.y#L638 #define arg_add_optblock(l,b) ((b)==Qundef? (l) : dispatch2(args_add_block, (l), (b))) -#define args2mrhs(a) dispatch1(mrhs_new_from_args, (a)) -#define mrhs_new() dispatch0(mrhs_new) -#define mrhs_add(l,a) dispatch2(mrhs_add, (l), (a)) -#define mrhs_add_star(l,a) dispatch2(mrhs_add_star, (l), (a)) - #define params_new(pars, opts, rest, pars2, kws, kwrest, blk) \ dispatch7(params, (pars), (opts), (rest), (pars2), (kws), (kwrest), (blk)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/