mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* variable.c (rb_define_const): typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d3b50bf9dc
commit
5ea3e44fa2
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Dec 11 11:46:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* variable.c (rb_define_const): typo fixed.
|
||||
|
||||
Mon Dec 11 09:36:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_aset): index double decode problem.
|
||||
|
|
|
@ -1576,7 +1576,7 @@ rb_define_const(VALUE klass, const char *name, VALUE val)
|
|||
ID id = rb_intern(name);
|
||||
|
||||
if (!rb_is_const_id(id)) {
|
||||
rb_warn("rb_define_const: invalide name `%s' for constant", name);
|
||||
rb_warn("rb_define_const: invalid name `%s' for constant", name);
|
||||
}
|
||||
if (klass == rb_cObject) {
|
||||
rb_secure(4);
|
||||
|
|
Loading…
Reference in a new issue