mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parse.y: Remove macros that are no longer used
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
57deb6fe18
commit
43aa218de3
1 changed files with 0 additions and 7 deletions
7
parse.y
7
parse.y
|
@ -483,8 +483,6 @@ static VALUE const_decl(struct parser_params *p, VALUE path);
|
|||
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_params *p);
|
|||
|
||||
#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))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue