ruby-changes:65193
From: Nobuyoshi <ko1@a...>
Date: Tue, 9 Feb 2021 01:02:23 +0900 (JST)
Subject: [ruby-changes:65193] 0d89aedb73 (master): Assign TAG_NONE to ruby_tag_type instead of 0
https://git.ruby-lang.org/ruby.git/commit/?id=0d89aedb73 From 0d89aedb734372bc35d8a569a992d13e86e7923e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 9 Feb 2021 00:39:58 +0900 Subject: Assign TAG_NONE to ruby_tag_type instead of 0 --- eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eval.c b/eval.c index be6a6b4..56d7c2b 100644 --- a/eval.c +++ b/eval.c @@ -1021,7 +1021,7 @@ rb_vrescue2(VALUE (* b_proc) (VALUE), VALUE data1, https://github.com/ruby/ruby/blob/trunk/eval.c#L1021 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, https://github.com/ruby/ruby/blob/trunk/eval.c#L1043 if (handle) { result = Qnil; - state = 0; + state = TAG_NONE; if (r_proc) { result = (*r_proc) (data2, ec->errinfo); } -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/