From d65dab3dfb570bbdd4f99f33fa47753f511ece06 Mon Sep 17 00:00:00 2001 From: eban Date: Thu, 10 Jul 2003 03:08:08 +0000 Subject: * eval.c (rb_thread_schedule): parse error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 47853d686a..43404a91ab 100644 --- a/eval.c +++ b/eval.c @@ -8450,7 +8450,6 @@ rb_thread_schedule() rb_thread_t curr; int found = 0; - if (ruby_in_compile) abort(); fd_set readfds; fd_set writefds; fd_set exceptfds; @@ -8460,6 +8459,8 @@ 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) -- cgit v1.2.3