diff options
author | Yusuke Endoh <[email protected]> | 2022-07-22 16:57:25 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2022-07-22 23:10:24 +0900 |
commit | 8f7e18882269ef3747312a390b06f02f7e2c98eb (patch) | |
tree | 8bcd7846bd65dfd3a4ca7c83fbc2c15e79b31a53 /vm.c | |
parent | e763b1118ba1fada81d37da558f9d8e4da99f144 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |