1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Assign TAG_NONE to ruby_tag_type instead of 0

This commit is contained in:
Nobuyoshi Nakada 2021-02-09 00:39:58 +09:00
parent 15e933f2c6
commit 0d89aedb73
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

4
eval.c
View file

@ -1021,7 +1021,7 @@ rb_vrescue2(VALUE (* b_proc) (VALUE), VALUE data1,
else if (result) {
/* escape from r_proc */
if (state == TAG_RETRY) {
state = 0;
state = TAG_NONE;
ec->errinfo = Qnil;
result = Qfalse;
goto retry_entry;
@ -1043,7 +1043,7 @@ rb_vrescue2(VALUE (* b_proc) (VALUE), VALUE data1,
if (handle) {
result = Qnil;
state = 0;
state = TAG_NONE;
if (r_proc) {
result = (*r_proc) (data2, ec->errinfo);
}