summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-07-22 16:57:25 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-07-22 23:10:24 +0900
commit8f7e18882269ef3747312a390b06f02f7e2c98eb (patch)
tree8bcd7846bd65dfd3a4ca7c83fbc2c15e79b31a53 /vm.c
parente763b1118ba1fada81d37da558f9d8e4da99f144 (diff)
Add "rb_" prefixes to toplevel enum definitions
... as per ko1's request.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6169
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 0004a2676d..bb2888ea73 100644
--- a/vm.c
+++ b/vm.c
@@ -2435,7 +2435,7 @@ vm_exec_handle_exception(rb_execution_context_t *ec, enum ruby_tag_type state,
else if ((state == TAG_BREAK && !escape_cfp) ||
(state == TAG_REDO) ||
(state == TAG_NEXT)) {
- type = (const enum catch_type[TAG_MASK]) {
+ type = (const enum rb_catch_type[TAG_MASK]) {
[TAG_BREAK] = CATCH_TYPE_BREAK,
[TAG_NEXT] = CATCH_TYPE_NEXT,
[TAG_REDO] = CATCH_TYPE_REDO,