diff options
author | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-08 01:39:27 +0000 |
---|---|---|
committer | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-08 01:39:27 +0000 |
commit | 98a74d4dd5fa9cd45121e8ebfc2f787d316e924f (patch) | |
tree | e8cdc2094b7dd1cdc57ecd58916413439d5ba663 /ChangeLog | |
parent | 100fe2e659339318846168841fd76ed4e38a6210 (diff) | |
download | ruby-98a74d4dd5fa9cd45121e8ebfc2f787d316e924f.tar.gz |
parse.y: use rb_fstring() for strings stored in the symbol table
* parse.y (register_symid_str): use fstrings in symbol table
[Bug #9171] [ruby-core:58656]
* parse.y (rb_id2str): ditto
* string.c (rb_fstring): create frozen_strings on first usage. this
allows rb_fstring() calls from the parser (before cString is created)
* string.c (fstring_set_class_i): set klass on fstrings generated
before cString was defined
* string.c (Init_String): convert frozen_strings table to String
objects after boot
* ext/-test-/symbol/type.c (bug_sym_id2str): expose rb_id2str()
* test/-ext-/symbol/test_type.rb (module Test_Symbol): verify symbol
table entries are fstrings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +Sun Dec 8 10:22:38 2013 Aman Gupta <ruby@tmm1.net> + + * parse.y (register_symid_str): use fstrings in symbol table + [Bug #9171] [ruby-core:58656] + * parse.y (rb_id2str): ditto + * string.c (rb_fstring): create frozen_strings on first usage. this + allows rb_fstring() calls from the parser (before cString is created) + * string.c (fstring_set_class_i): set klass on fstrings generated + before cString was defined + * string.c (Init_String): convert frozen_strings table to String + objects after boot + * ext/-test-/symbol/type.c (bug_sym_id2str): expose rb_id2str() + * test/-ext-/symbol/test_type.rb (module Test_Symbol): verify symbol + table entries are fstrings + Sun Dec 8 10:24:20 2013 Eric Hodel <drbrain@segment7.net> * lib/rubygems.rb: Update version for upcoming ruby 2.1.0 RC. |