aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-25 08:02:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-25 08:02:29 +0000
commit012368007f0a7fce81a0083c96aa549c21141d05 (patch)
tree2c59db60dae0dbf87eab110fa9b7ed80e516a3d1 /compile.c
parent9b7d4d470965b8e750a80de4faf60ec892d1c99b (diff)
downloadruby-012368007f0a7fce81a0083c96aa549c21141d05.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 445b9d5a59..0be8e8a6d6 100644
--- a/compile.c
+++ b/compile.c
@@ -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));
}