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:
parent
15e933f2c6
commit
0d89aedb73
1 changed files with 2 additions and 2 deletions
4
eval.c
4
eval.c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue