diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-25 08:02:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-25 08:02:29 +0000 |
commit | 012368007f0a7fce81a0083c96aa549c21141d05 (patch) | |
tree | 2c59db60dae0dbf87eab110fa9b7ed80e516a3d1 /compile.c | |
parent | 9b7d4d470965b8e750a80de4faf60ec892d1c99b (diff) |
iseq.h: rename member
* iseq.h (rb_compile_option_struct): rename the member
frozen_string_literal_debug as debug_frozen_string_literal.
[Feature #11725]
* ruby.c (proc_options): do not set $DEBUG and $VERBOSE only if no
arguments is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5309,7 +5309,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) else { if (iseq->compile_data->option->frozen_string_literal) { VALUE debug_info = Qnil; - if (iseq->compile_data->option->frozen_string_literal_debug || RTEST(ruby_debug)) { + if (iseq->compile_data->option->debug_frozen_string_literal || RTEST(ruby_debug)) { debug_info = rb_ary_new_from_args(2, iseq->body->location.path, INT2FIX(line)); iseq_add_mark_object_compile_time(iseq, rb_obj_freeze(debug_info)); } |