summaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-27 06:05:41 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-27 06:05:41 +0000
commit02a483d072d84674b7390b89f87293df39e3fff2 (patch)
tree2f5cd57aa8415fc12c995a2586304ff31fc99bba /ruby.c
parentffbb6d45214356f8936ea173ffa14f3379096cab (diff)
downloadruby-02a483d072d84674b7390b89f87293df39e3fff2.tar.gz
ruby-02a483d072d84674b7390b89f87293df39e3fff2.tar.xz
ruby-02a483d072d84674b7390b89f87293df39e3fff2.zip
* 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
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 0 insertions, 2 deletions
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)) {