aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-09 00:39:58 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-09 00:44:37 +0900
commit0d89aedb734372bc35d8a569a992d13e86e7923e (patch)
treec406a0e0684fd28f61e956dc85bbcb8f6d3251ea /eval.c
parent15e933f2c666ce9628ba29e4a0345fd6e0edbed8 (diff)
downloadruby-0d89aedb734372bc35d8a569a992d13e86e7923e.tar.gz
Assign TAG_NONE to ruby_tag_type instead of 0
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index be6a6b4dfd..56d7c2b81c 100644
--- a/eval.c
+++ b/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);
}