diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 19:25:45 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 19:25:45 +0000 |
commit | 1a060a2e99e835cc2c6b32f113f4c07bc9616364 (patch) | |
tree | 65d9f7e16e5ca9d4dcbcb9d983dfdfa047dd4299 /compile.c | |
parent | 0ffbe62c53487caea929999bdb83aab4606cf34b (diff) | |
download | ruby-1a060a2e99e835cc2c6b32f113f4c07bc9616364.tar.gz ruby-1a060a2e99e835cc2c6b32f113f4c07bc9616364.tar.xz ruby-1a060a2e99e835cc2c6b32f113f4c07bc9616364.zip |
* parse.y (rb_id2str): fill klass of returned string as rb_cString.
some strings are allocated before rb_cString is created.
This prevents a "called on terminated object" error by
ObjectSpace.each_object(Module) {|m| p m.name }.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
0 files changed, 0 insertions, 0 deletions