summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 15:07:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 15:07:51 +0000
commitbc512a375de7cc47ae5dd6d5ff6344bdc23543af (patch)
treef63506d2bf454ea57d8c1137dfa9ae29f03defe7
parent6557a6b9edfaff13859cc31fd3501ffdd491dae8 (diff)
parse.y: remove unused argument
* parse.y (list_concat): remove unused argument parser, since never allocates new node. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--parse.y5
1 files changed, 2 insertions, 3 deletions
diff --git a/parse.y b/parse.y
index 58877be3826..c0c90366410 100644
--- a/parse.y
+++ b/parse.y
@@ -376,8 +376,7 @@ static NODE *block_append_gen(struct parser_params*,NODE*,NODE*);
#define block_append(h,t) block_append_gen(parser,(h),(t))
static NODE *list_append_gen(struct parser_params*,NODE*,NODE*);
#define list_append(l,i) list_append_gen(parser,(l),(i))
-static NODE *list_concat_gen(struct parser_params*,NODE*,NODE*);
-#define list_concat(h,t) list_concat_gen(parser,(h),(t))
+static NODE *list_concat(NODE*,NODE*);
static NODE *arg_append_gen(struct parser_params*,NODE*,NODE*);
#define arg_append(h,t) arg_append_gen(parser,(h),(t))
static NODE *arg_concat_gen(struct parser_params*,NODE*,NODE*);
@@ -8463,7 +8462,7 @@ list_append_gen(struct parser_params *parser, NODE *list, NODE *item)
/* concat two lists */
static NODE*
-list_concat_gen(struct parser_params *parser, NODE *head, NODE *tail)
+list_concat(NODE *head, NODE *tail)
{
NODE *last;