diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-12 13:20:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-12 13:20:50 +0000 |
commit | 34a95669dad8843e3e9a4af683682ab2f50856dd (patch) | |
tree | 165cd3bd3ed70a911853f55055bce1a86632a686 /vm_core.h | |
parent | 976a3041ef38711b84c6a35db25f189d31903e38 (diff) |
required keyword arguments
* compile.c (iseq_set_arguments, iseq_compile_each): support required
keyword arguments. [ruby-core:51454] [Feature #7701]
* iseq.c (rb_iseq_parameters): ditto.
* parse.y (f_kw, f_block_kw): ditto. this syntax is still
experimental, the notation may change.
* vm_core.h (rb_iseq_struct): ditto.
* vm_insnhelper.c (vm_callee_setup_keyword_arg): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -273,6 +273,7 @@ struct rb_iseq_struct { int arg_keyword; int arg_keyword_check; /* if this is true, raise an ArgumentError when unknown keyword argument is passed */ int arg_keywords; + int arg_keyword_required; ID *arg_keyword_table; size_t stack_max; /* for stack overflow check */ |