diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-04 05:28:50 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-04 05:28:50 +0000 |
| commit | e04c3f91eb8d865d240abb0f7bacce7c188fc4ce (patch) | |
| tree | 63e83ad6b21b9f45b5b1458156f273625a9301da /eval.c | |
| parent | 1007f138c05617e0fa701597e7ecbf883d03623a (diff) | |
| download | ruby-e04c3f91eb8d865d240abb0f7bacce7c188fc4ce.tar.gz ruby-e04c3f91eb8d865d240abb0f7bacce7c188fc4ce.tar.xz ruby-e04c3f91eb8d865d240abb0f7bacce7c188fc4ce.zip | |
* eval.c (method_proc): should specify YIELD_FUNC_SVALUE.
[ruby-dev:21107]
* marshal.c (w_object): should not call w_extended for USRMARSHAL
dump. [ruby-dev:21106]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -7604,6 +7604,7 @@ method_proc(method) Data_Get_Struct(proc, struct BLOCK, bdata); bdata->body->nd_file = mdata->body->nd_file; nd_set_line(bdata->body, nd_line(mdata->body)); + bdata->body->nd_state = YIELD_FUNC_SVALUE; return proc; } @@ -8479,8 +8480,6 @@ rb_thread_schedule() int need_select = 0; int select_timeout = 0; - if (ruby_in_compile) abort(); - rb_thread_pending = 0; if (curr_thread == curr_thread->next && curr_thread->status == THREAD_RUNNABLE) |
