summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorMartin Dürst <duerst@it.aoyama.ac.jp>2019-06-05 14:03:50 +0900
committerMartin Dürst <duerst@it.aoyama.ac.jp>2019-06-05 14:03:50 +0900
commitf258137083051a7fc2412c62e3fb239f93d1fdf8 (patch)
tree39decb7e962a56d36d841209005180655f6f985e /parse.y
parent1624d77f3ee0a536a6ab37da014d85d16fcd1de2 (diff)
Fix grammar of macro name: ECCESSED -> ECCESSIVE
Fix the name of the macro variable introduced in 0872ea5330 from NODE_SPECIAL_EXCESSED_COMMA to NODE_SPECIAL_EXCESSIVE_COMMA.
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 4446a29fa3..6fc098bc6e 100644
--- a/parse.y
+++ b/parse.y
@@ -3257,7 +3257,7 @@ block_param : f_arg ',' f_block_optarg ',' f_rest_arg opt_block_args_tail
{
/*%%%*/
/* magic number for rest_id in iseq_set_arguments() */
- $$ = new_args(p, $1, Qnone, NODE_SPECIAL_EXCESSED_COMMA, Qnone, new_args_tail(p, Qnone, Qnone, Qnone, &@1), &@$);
+ $$ = new_args(p, $1, Qnone, NODE_SPECIAL_EXCESSIVE_COMMA, Qnone, new_args_tail(p, Qnone, Qnone, Qnone, &@1), &@$);
/*% %*/
/*% ripper: new_args(p, $1, Qnone, excessed_comma!, Qnone, new_args_tail(p, Qnone, Qnone, Qnone, NULL), NULL) %*/
}
@@ -11130,7 +11130,7 @@ args_with_numbered(struct parser_params *p, NODE *args, int max_numparam)
if (max_numparam > 0) {
if (!args) args = new_args_tail(p, 0, 0, 0, 0);
args->nd_ainfo->pre_args_num = max_numparam;
- args->nd_ainfo->rest_arg = NODE_SPECIAL_EXCESSED_COMMA;
+ args->nd_ainfo->rest_arg = NODE_SPECIAL_EXCESSIVE_COMMA;
}
return args;
}