diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-11 10:10:18 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-11 10:10:18 +0000 |
| commit | b7c39f272a01294a419d612ea141e1d195f44066 (patch) | |
| tree | e484f26475a0ec85ec681f77da70ecff390333b8 /ruby.c | |
| parent | 871fec2a7b0f61975561998f47c9b0267eba4caa (diff) | |
| download | ruby-b7c39f272a01294a419d612ea141e1d195f44066.tar.gz ruby-b7c39f272a01294a419d612ea141e1d195f44066.tar.xz ruby-b7c39f272a01294a419d612ea141e1d195f44066.zip | |
* ruby.c (require_libraries): restore source file/line after
statically linked extensions initialized.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
| -rw-r--r-- | ruby.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -346,11 +346,14 @@ require_libraries() struct req_list *list = req_list_head.next; struct req_list *tmp; - Init_ext(); /* should be called here for some reason :-( */ save[0] = ruby_eval_tree; save[1] = ruby_eval_tree_begin; save[2] = NEW_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; while (list) { ruby_current_node = 0; |
