зеркало из https://github.com/github/ruby.git
* eval.c (rb_load): should not pass block to the loaded file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a2c9020808
Коммит
0944a05fb9
|
@ -1,3 +1,8 @@
|
|||
Sun Oct 6 00:49:15 2002 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* eval.c (rb_load): should not pass blocks to the loaded file.
|
||||
[ruby-dev:18458]
|
||||
|
||||
Fri Oct 4 20:25:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* eval.c (rb_thread_interrupt, rb_thread_signal_raise): no need to
|
||||
|
|
2
eval.c
2
eval.c
|
@ -5346,6 +5346,7 @@ rb_load(fname, wrap)
|
|||
rb_extend_object(self, ruby_class);
|
||||
PUSH_CREF(ruby_wrapper);
|
||||
}
|
||||
PUSH_ITER(ITER_NOT);
|
||||
PUSH_FRAME();
|
||||
ruby_frame->last_func = 0;
|
||||
ruby_frame->last_class = 0;
|
||||
|
@ -5380,6 +5381,7 @@ rb_load(fname, wrap)
|
|||
ruby_cref = saved_cref;
|
||||
POP_SCOPE();
|
||||
POP_FRAME();
|
||||
POP_ITER();
|
||||
POP_CLASS();
|
||||
POP_VARS();
|
||||
ruby_wrapper = wrapper;
|
||||
|
|
Загрузка…
Ссылка в новой задаче