summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-10 03:08:08 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-10 03:08:08 +0000
commitd65dab3dfb570bbdd4f99f33fa47753f511ece06 (patch)
tree85d8affba45327fae4ec481e7c3ad5b02a640b79 /eval.c
parent570befe608c7e8b0fde9374bffdafcf7a7e088c8 (diff)
* eval.c (rb_thread_schedule): parse error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 47853d6..43404a9 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)