diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-03-07 08:37:59 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-03-07 08:37:59 +0000 |
commit | 4d215cd9d3e0c4ea8ba802aa87773d6578c45a15 (patch) | |
tree | 0726d5ac3dbee381503921a9a6016c6dea786115 /string.c | |
parent | 73d2362580ad40c267419a31cc1fd1bf550760c8 (diff) |
2000-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2532,7 +2532,7 @@ rb_str_intern(str) if (strlen(RSTRING(str)->ptr) != RSTRING(str)->len) rb_raise(rb_eArgError, "string contains `\\0'"); id = rb_intern(RSTRING(str)->ptr); - return INT2FIX(id); + return ID2SYM(id); } static VALUE |