aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-29 14:06:58 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-29 14:06:58 +0000
commit1262176e4a9dc164d236adad5f6b08f57b731337 (patch)
tree4c5ed9484db85f1fd728c214fab58f99547beecd /eval.c
parent70fa77d88c07c3867ce9549a43f214b0781d42c6 (diff)
downloadruby-1262176e4a9dc164d236adad5f6b08f57b731337.tar.gz
`rb_ec_error_print()`.
* eval_error.c (rb_threadptr_error_print): renamed to rb_ec_error_print() and it accepts `ec`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index fa97b9d973..3ddef05cad 100644
--- a/eval.c
+++ b/eval.c
@@ -78,7 +78,7 @@ ruby_init(void)
int state = ruby_setup();
if (state) {
if (RTEST(ruby_debug))
- error_print(GET_THREAD());
+ error_print(GET_EC());
exit(EXIT_FAILURE);
}
}