diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-24 02:42:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-24 02:42:40 +0000 |
commit | b14bfba2e98b8837b842397aa13ce76bbb44b034 (patch) | |
tree | 33fe6afbbf4f388635b13e11ebc6515528bd32f6 /parse.y | |
parent | d03db7fbf815e6b9c82db638cbed7241210e0ba4 (diff) | |
download | ruby-b14bfba2e98b8837b842397aa13ce76bbb44b034.tar.gz |
parse.y: hide compile_option
* parse.y (parser_set_compile_option_flag): hide compile_option
hash from ObjectSpace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7093,7 +7093,7 @@ parser_set_compile_option_flag(struct parser_params *parser, const char *name, c if (b < 0) return; if (!parser->compile_option) - parser->compile_option = rb_ident_hash_new(); + parser->compile_option = rb_obj_hide(rb_ident_hash_new()); rb_hash_aset(parser->compile_option, ID2SYM(rb_intern(name)), (b ? Qtrue : Qfalse)); } |