summaryrefslogtreecommitdiff
path: root/eval_intern.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-08-08 17:53:36 +0900
committerKoichi Sasada <ko1@atdot.net>2019-08-08 17:56:04 +0900
commitb004d3e8300ba803d4a499148fa4fc6a690149e6 (patch)
treef382c3c32ba64c95b53aaf45b7c2f296ae3d6a06 /eval_intern.h
parent20cb8e8aeab916d659c0359a35687bb8df1f31a6 (diff)
solve "duplicate :raise event" [Bug #15877]
Without this patch, "raise" event invoked twice when raise an exception in "load"ed script. This patch by danielwaterworth (Daniel Waterworth). [Bug #15877]
Diffstat (limited to 'eval_intern.h')
-rw-r--r--eval_intern.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/eval_intern.h b/eval_intern.h
index db28aa1..7c90972 100644
--- a/eval_intern.h
+++ b/eval_intern.h
@@ -277,9 +277,7 @@ NORETURN(void rb_print_undef(VALUE, ID, rb_method_visibility_t));
NORETURN(void rb_print_undef_str(VALUE, VALUE));
NORETURN(void rb_print_inaccessible(VALUE, ID, rb_method_visibility_t));
NORETURN(void rb_vm_localjump_error(const char *,VALUE, int));
-#if 0
NORETURN(void rb_vm_jump_tag_but_local_jump(int));
-#endif
VALUE rb_vm_make_jump_tag_but_local_jump(int state, VALUE val);
rb_cref_t *rb_vm_cref(void);