diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-15 07:45:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-15 07:45:24 +0000 |
commit | 02c1358be526e0fec672a420df80cd7d25ef1eae (patch) | |
tree | 627d69305371a087d1f5272941fed51cfebb30e6 /eval.c | |
parent | 60fbe0135362f091d2af68b911d246c5730b9fae (diff) |
share :cause variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,8 @@ VALUE rb_eLocalJumpError; VALUE rb_eSysStackError; ID ruby_static_id_signo, ruby_static_id_status; -static ID id_cause; +extern ID ruby_static_id_cause; +#define id_cause ruby_static_id_cause #define exception_error GET_VM()->special_exceptions[ruby_error_reenter] @@ -1950,5 +1951,4 @@ Init_eval(void) id_signo = rb_intern_const("signo"); id_status = rb_intern_const("status"); - id_cause = rb_intern_const("cause"); } |