1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

insns.def: Some fixes and tweaks to English explanations

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
duerst 2011-11-05 11:30:51 +00:00
parent 333c847f19
commit 642562c707
2 changed files with 22 additions and 18 deletions

View file

@ -1,3 +1,7 @@
Sat Nov 5 20:30:30 2011 Martin Duerst <duerst@it.aoyama.ac.jp>
* insns.def: Some fixes and tweaks to English explanations
Sat Nov 5 19:11:50 2011 Tanaka Akira <akr@fsij.org>
* io.c (rb_cloexec_fcntl_dupfd): don't clear try_dupfd_cloexec if

View file

@ -46,7 +46,7 @@ nop
/**
@c variable
@e get local variable value (which is pointed by idx).
@e Get value of local variable (pointed to by idx).
@j idx
*/
DEFINE_INSN
@ -60,7 +60,7 @@ getlocal
/**
@c variable
@e set local variable value (which is pointed by idx) as val.
@e Set value of local variable (pointed to by idx) to val.
@j idx val
*/
DEFINE_INSN
@ -74,7 +74,7 @@ setlocal
/**
@c variable
@e get special local variable ($~, $_, ..) value.
@e Get value of special local variable ($~, $_, ..).
@j $~, $_, ...
*/
DEFINE_INSN
@ -88,7 +88,7 @@ getspecial
/**
@c variable
@e set special local variable ($~, $_, ...) value as obj.
@e Set value of special local variable ($~, $_, ...) to obj.
@j $~, $_, ...
*/
DEFINE_INSN
@ -102,8 +102,8 @@ setspecial
/**
@c variable
@e get block local variable(which is pointed by idx and level).
level means nest level of block, and specify how above this variable.
@e Get value of block local variable (pointed to by idx and level).
'level' indicates the nesting depth from the current block.
@j level, idx
level
*/
@ -123,8 +123,8 @@ getdynamic
/**
@c variable
@e set block local variable(which is pointed by 'idx') as val.
level means nest level of block, and specify how above this variable.
@e Set block local variable (pointed to by 'idx') as val.
'level' indicates the nesting depth from the current block.
@j level, idx val
level
*/
@ -144,8 +144,8 @@ setdynamic
/**
@c variable
@e get instance variable id of obj.
if is_local is not 0, search as class local variable.
@e Get value of instance variable id of self.
If is_local is not 0, get value of class local variable.
@j self id
*/
DEFINE_INSN
@ -159,8 +159,8 @@ getinstancevariable
/**
@c variable
@e set instance variable id of obj as val.
if is_local is not 0, search as class local variable.
@e Set value of instance variable id of self to val.
If is_local is not 0, set value of class local variable.
@j self id val
*/
DEFINE_INSN
@ -174,7 +174,7 @@ setinstancevariable
/**
@c variable
@e get class variable id of klass as val.
@e Get value of class variable id of klass as val.
@j id
*/
DEFINE_INSN
@ -189,7 +189,7 @@ getclassvariable
/**
@c variable
@e set class variable id of klass as val.
@e Set value of class variable id of klass as val.
@j klass id val
*/
DEFINE_INSN
@ -205,9 +205,9 @@ setclassvariable
/**
@c variable
@e
get constant variable id. if klass is Qnil, constant
are searched in current scope. if klass is Qfalse, constant as
top level constant. otherwise, get constant under klass
Get constant variable id. If klass is Qnil, constants
are searched in the current scope. If klass is Qfalse, constants
are searched as top level constants. Otherwise, get constant under klass
class or module.
@j id
klass Qnil
@ -226,7 +226,7 @@ getconstant
/**
@c variable
@e
set constant variable id. if klass is Qfalse, constant
Set constant variable id. If klass is Qfalse, constant
is able to access in this scope. if klass is Qnil, set
top level constant. otherwise, set constant under klass
class or module.