summaryrefslogtreecommitdiff
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
commitb19be9b1a90b9672f0866566904ad66e43440c97 (patch)
tree2f5cd57aa8415fc12c995a2586304ff31fc99bba /ruby.c
parent6c08b4522d4b9173dcbada62c6d218452d103b4a (diff)
downloadruby-b19be9b1a90b9672f0866566904ad66e43440c97.tar.gz
* ruby.c (process_options): fix to untouch th->mild_compile_error.
[ruby-dev:37621], [ruby-dev:37620] git-svn-id: svn+ssh://ci.ruby-lang.org/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 d0256c7814..2c70d71686 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)) {