From 02a483d072d84674b7390b89f87293df39e3fff2 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 27 Dec 2008 06:05:41 +0000 Subject: * ruby.c (process_options): fix to untouch th->mild_compile_error. [ruby-dev:37621], [ruby-dev:37620] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index d0256c781..2c70d7168 100644 --- a/ruby.c +++ b/ruby.c @@ -1338,7 +1338,6 @@ process_options(VALUE arg) GetEnvPtr(bind->env, env); th->parse_in_eval++; - th->mild_compile_error++; } if (opt->e_script) { @@ -1402,7 +1401,6 @@ process_options(VALUE arg) iseq = rb_iseq_new_main(tree, opt->script_name); th->parse_in_eval--; - th->mild_compile_error--; th->base_block = 0; if (opt->dump & DUMP_BIT(insns)) { -- cgit