diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-30 05:55:37 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-30 05:55:37 +0000 |
commit | 6c38e611e4d40bc6a7d3a1673e7630932af1e9c2 (patch) | |
tree | 0fc73c22fca6645e73f54156cf6bff50d1da9102 /vm_core.h | |
parent | 59130ced833ef34c24f11d47ebd56af0ba3b5164 (diff) | |
download | ruby-6c38e611e4d40bc6a7d3a1673e7630932af1e9c2.tar.gz |
* vm_core.h: Fix comment about arg_opts of iseq and some typos
* doc/re.rdoc: Rdoc small fixes
* iseq.c: Fix comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -200,14 +200,14 @@ struct rb_iseq_struct { * * argc = M * arg_rest = M+N+1 // or -1 if no rest arg - * arg_opts = N - * arg_opts_tbl = [ (N entries) ] + * arg_opts = N+1 // or 0 if no optional arg + * arg_opt_table = [ (arg_opts entries) ] * arg_post_len = O // 0 if no post arguments * arg_post_start = M+N+2 * arg_block = M+N + 1 + O + 1 // -1 if no block arg * arg_simple = 0 if not simple arguments. * = 1 if no opt, rest, post, block. - * = 2 if ambiguos block parameter ({|a|}). + * = 2 if ambiguous block parameter ({|a|}). * arg_size = argument size. */ |