summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2022-11-17 23:43:21 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2022-11-18 18:25:42 +0900
commitf0ce1186620273a1182e6084559765143099eb88 (patch)
tree8c78074e33cc1387827923003939c375a444431d /node.h
parentddd62fadaf91418cd259593285bc59358fb0b166 (diff)
Make anonymous rest arg (*) and block arg (&) accessible from ARGS node
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6760
Diffstat (limited to 'node.h')
-rw-r--r--node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.h b/node.h
index 39427257dd..220de3135e 100644
--- a/node.h
+++ b/node.h
@@ -461,6 +461,7 @@ struct rb_args_info {
NODE *opt_args;
unsigned int no_kwarg: 1;
unsigned int ruby2_keywords: 1;
+ unsigned int forwarding: 1;
VALUE imemo;
};