diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | object.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Mar 16 22:20:25 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * object.c (str_to_id): fixed typo. + Wed Mar 16 18:08:32 2005 Yukihiro Matsumoto <matz@ruby-lang.org> * eval.c (rb_call0): reorganize "return" event post. @@ -1644,7 +1644,7 @@ str_to_id(str) rb_raise(rb_eArgError, "empty symbol string"); } if (RSTRING(str)->len != strlen(RSTRING(str)->ptr)) { - warn("Symbols should not contain NUL (\\0)"); + rb_warn("Symbols should not contain NUL (\\0)"); } return rb_intern(RSTRING(str)->ptr); } |