зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
6c08b4522d
Коммит
b19be9b1a9
|
@ -1,3 +1,8 @@
|
|||
Sat Dec 27 15:02:38 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* ruby.c (process_options): fix to untouch th->mild_compile_error.
|
||||
[ruby-dev:37621], [ruby-dev:37620]
|
||||
|
||||
Sat Dec 27 14:48:26 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* iseq.h, iseq.c (rb_iseq_new_main): add a type ISEQ_TYPE_MAIN.
|
||||
|
|
2
ruby.c
2
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)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче