diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | parse.y | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed Sep 6 13:25:04 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * parse.y (symbols_i): need to initialize early-created symbols. + [ruby-dev:29496] + Wed Sep 06 12:05:19 2006 NARUSE, Yui <naruse@ruby-lang.org> * ext/nkf/lib/kconv.rb (Kconv::toeuc): remove -m0 [ruby-dev:29505] @@ -8532,6 +8532,9 @@ rb_id2name(ID id) static int symbols_i(VALUE sym, ID value, VALUE ary) { + if (!RBASIC(sym)->klass) { + RBASIC(sym)->klass = rb_cSymbol; + } rb_ary_push(ary, sym); return ST_CONTINUE; } |
