From ef02cae50743132b2ad85ef203c1692e41079ecd Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 26 Mar 2014 06:43:02 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.y b/parse.y index 5d8d0fb9ef..a9a2aac33d 100644 --- a/parse.y +++ b/parse.y @@ -10688,7 +10688,7 @@ rb_str_dynamic_intern(VALUE str) } } - 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);