mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* eval_intern.h: rename macros rb_thread_raised_* to
rb_ec_raised_*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ee189904f0
commit
48ce4cb414
8 changed files with 27 additions and 29 deletions
|
@ -172,7 +172,7 @@ rb_ec_error_print(rb_execution_context_t * volatile ec, volatile VALUE errinfo)
|
|||
|
||||
if (NIL_P(errinfo))
|
||||
return;
|
||||
rb_thread_raised_clear(rb_ec_thread_ptr(ec));
|
||||
rb_ec_raised_clear(ec);
|
||||
|
||||
EC_PUSH_TAG(ec);
|
||||
if (EC_EXEC_TAG() == TAG_NONE) {
|
||||
|
@ -203,7 +203,7 @@ rb_ec_error_print(rb_execution_context_t * volatile ec, volatile VALUE errinfo)
|
|||
error:
|
||||
EC_POP_TAG();
|
||||
ec->errinfo = errinfo;
|
||||
rb_thread_raised_set(rb_ec_thread_ptr(ec), raised_flag);
|
||||
rb_ec_raised_set(ec, raised_flag);
|
||||
}
|
||||
|
||||
#define undef_mesg_for(v, k) rb_fstring_cstr("undefined"v" method `%1$s' for "k" `%2$s'")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue