diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 14:51:07 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 14:51:07 +0000 |
commit | 9203dd6d36a4d2a3c6eac73d3a9d87a46db9df4d (patch) | |
tree | 595d834a0a5b8590062f404258710d8d65af2f18 | |
parent | eb38a049cd271e216e46b7116fefd4ff3b3eeda8 (diff) | |
download | ruby-9203dd6d36a4d2a3c6eac73d3a9d87a46db9df4d.tar.gz |
Do not pass a not used argument
* parse.y (new_op_assign_gen): new_op_assign_gen for
ripper does not need column information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -600,8 +600,8 @@ static VALUE new_qcall_gen(struct parser_params *parser, VALUE q, VALUE r, VALUE #define new_command(m,a) dispatch2(command, (m), (a)); #define new_nil() Qnil -static VALUE new_op_assign_gen(struct parser_params *parser, VALUE lhs, VALUE op, VALUE rhs, int column); -#define new_op_assign(lhs, op, rhs, column) new_op_assign_gen(parser, (lhs), (op), (rhs), (column)) +static VALUE new_op_assign_gen(struct parser_params *parser, VALUE lhs, VALUE op, VALUE rhs); +#define new_op_assign(lhs, op, rhs, column) new_op_assign_gen(parser, (lhs), (op), (rhs)) static VALUE new_attr_op_assign_gen(struct parser_params *parser, VALUE lhs, VALUE type, VALUE attr, VALUE op, VALUE rhs); #define new_attr_op_assign(lhs, type, attr, op, rhs, column) new_attr_op_assign_gen(parser, (lhs), (type), (attr), (op), (rhs)) #define new_const_op_assign(lhs, op, rhs, column) new_op_assign(lhs, op, rhs, column) @@ -10764,7 +10764,7 @@ const_decl_gen(struct parser_params *parser, NODE *path, int column) } #else static VALUE -new_op_assign_gen(struct parser_params *parser, VALUE lhs, VALUE op, VALUE rhs, int column) +new_op_assign_gen(struct parser_params *parser, VALUE lhs, VALUE op, VALUE rhs) { return dispatch3(opassign, lhs, op, rhs); } |