summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 09:40:56 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 09:40:56 +0000
commitf531b26c9aa88f1483c17601df325f733c71a833 (patch)
tree3b38281433602a7c258bbaa1512232406bc87f04 /ruby.c
parent7e35c2e2d0ba1b0a0d3df190df45158044a2620d (diff)
merges r21089 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@21119 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 8b6cc4cb90..e9bd38e914 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1314,7 +1314,6 @@ process_options(VALUE arg)
GetEnvPtr(bind->env, env);
th->parse_in_eval++;
- th->mild_compile_error++;
}
if (opt->e_script) {
@@ -1377,7 +1376,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)) {