aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
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 /node.c
parent1624d77f3ee0a536a6ab37da014d85d16fcd1de2 (diff)
downloadruby-f258137083051a7fc2412c62e3fb239f93d1fdf8.tar.gz
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 'node.c')
-rw-r--r--node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.c b/node.c
index 8be6f81f87..e4c4961217 100644
--- a/node.c
+++ b/node.c
@@ -1011,7 +1011,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
F_NODE(nd_ainfo->post_init, "initialization of post-arguments");
F_ID(nd_ainfo->first_post_arg, "first post argument");
F_CUSTOM1(nd_ainfo->rest_arg, "rest argument") {
- if (node->nd_ainfo->rest_arg == NODE_SPECIAL_EXCESSED_COMMA) {
+ if (node->nd_ainfo->rest_arg == NODE_SPECIAL_EXCESSIVE_COMMA) {
A("1 (excessed comma)");
}
else {