[前][次][番号順一覧][スレッド一覧]

ruby-changes:33355

From: nobu <ko1@a...>
Date: Wed, 26 Mar 2014 15:43:08 +0900 (JST)
Subject: [ruby-changes:33355] nobu:r45434 (trunk): parse.y: fix rb_str_symname_type call

nobu	2014-03-26 15:43:02 +0900 (Wed, 26 Mar 2014)

  New Revision: 45434

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45434

  Log:
    parse.y: fix rb_str_symname_type call
    
    * parse.y (rb_str_dynamic_intern): fix the second argument to
      rb_str_symname_type, which is a bit mask but not a boolean.

  Modified files:
    trunk/parse.y
Index: parse.y
===================================================================
--- parse.y	(revision 45433)
+++ parse.y	(revision 45434)
@@ -10688,7 +10688,7 @@ rb_str_dynamic_intern(VALUE str) https://github.com/ruby/ruby/blob/trunk/parse.y#L10688
 	}
     }
 
-    type = rb_str_symname_type(str, TRUE);
+    type = rb_str_symname_type(str, IDSET_ATTRSET_FOR_INTERN);
     str = rb_fstring(str);
     dsym = rb_newobj_of(rb_cSymbol, T_SYMBOL);
     OBJ_FREEZE(dsym);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]