* ruby.c (require_libraries): restore source file/line after

statically linked extensions initialized.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-04-11 10:10:18 +00:00
Родитель 7e9f3d2934
Коммит 42fa4e83cd
2 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Sun Apr 11 19:10:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (require_libraries): restore source file/line after
statically linked extensions initialized.
Sun Apr 11 10:47:04 2004 Dave Thomas <dave@pragprog.com> Sun Apr 11 10:47:04 2004 Dave Thomas <dave@pragprog.com>
* lib/rdoc/code_objects.rb (RDoc::TopLevel::add_class_or_module): Toplevel * lib/rdoc/code_objects.rb (RDoc::TopLevel::add_class_or_module): Toplevel

5
ruby.c
Просмотреть файл

@ -346,11 +346,14 @@ require_libraries()
struct req_list *list = req_list_head.next; struct req_list *list = req_list_head.next;
struct req_list *tmp; struct req_list *tmp;
Init_ext(); /* should be called here for some reason :-( */
save[0] = ruby_eval_tree; save[0] = ruby_eval_tree;
save[1] = ruby_eval_tree_begin; save[1] = ruby_eval_tree_begin;
save[2] = NEW_BEGIN(0); save[2] = NEW_BEGIN(0);
ruby_eval_tree = ruby_eval_tree_begin = 0; ruby_eval_tree = ruby_eval_tree_begin = 0;
ruby_current_node = 0;
Init_ext(); /* should be called here for some reason :-( */
ruby_current_node = save[2];
ruby_set_current_source();
req_list_last = 0; req_list_last = 0;
while (list) { while (list) {
ruby_current_node = 0; ruby_current_node = 0;