Assign TAG_NONE to ruby_tag_type instead of 0
This commit is contained in:
parent
15e933f2c6
commit
0d89aedb73
4
eval.c
4
eval.c
@ -1021,7 +1021,7 @@ rb_vrescue2(VALUE (* b_proc) (VALUE), VALUE data1,
|
|||||||
else if (result) {
|
else if (result) {
|
||||||
/* escape from r_proc */
|
/* escape from r_proc */
|
||||||
if (state == TAG_RETRY) {
|
if (state == TAG_RETRY) {
|
||||||
state = 0;
|
state = TAG_NONE;
|
||||||
ec->errinfo = Qnil;
|
ec->errinfo = Qnil;
|
||||||
result = Qfalse;
|
result = Qfalse;
|
||||||
goto retry_entry;
|
goto retry_entry;
|
||||||
@ -1043,7 +1043,7 @@ rb_vrescue2(VALUE (* b_proc) (VALUE), VALUE data1,
|
|||||||
|
|
||||||
if (handle) {
|
if (handle) {
|
||||||
result = Qnil;
|
result = Qnil;
|
||||||
state = 0;
|
state = TAG_NONE;
|
||||||
if (r_proc) {
|
if (r_proc) {
|
||||||
result = (*r_proc) (data2, ec->errinfo);
|
result = (*r_proc) (data2, ec->errinfo);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user