From 012368007f0a7fce81a0083c96aa549c21141d05 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 25 Nov 2015 08:02:29 +0000 Subject: 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 --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.c') 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)); } -- cgit v1.2.3