mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* re.c (rb_reg_search): should clear last_match if pos is out of
string range. * string.c (rb_str_index_m): ditto. * string.c (rb_str_rindex): ditto. * class.c (rb_define_class): should handle autoload. * class.c (rb_define_module): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7632b48a7d
commit
6d2e56ce7c
10 changed files with 86 additions and 20 deletions
4
eval.c
4
eval.c
|
@ -698,7 +698,7 @@ dvar_asgn_internal(id, value, curr)
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
static inline void
|
||||
dvar_asgn(id, value)
|
||||
ID id;
|
||||
VALUE value;
|
||||
|
@ -706,7 +706,7 @@ dvar_asgn(id, value)
|
|||
dvar_asgn_internal(id, value, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
static inline void
|
||||
dvar_asgn_curr(id, value)
|
||||
ID id;
|
||||
VALUE value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue