aboutsummaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-15 07:45:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-15 07:45:24 +0000
commitd917074feab87a9d2722cf5d923a3feefca7ac17 (patch)
tree627d69305371a087d1f5272941fed51cfebb30e6 /error.c
parent84894e63772853da27ed4e5fcf0934bab16eedb3 (diff)
downloadruby-d917074feab87a9d2722cf5d923a3feefca7ac17.tar.gz
share :cause variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/error.c b/error.c
index 85d9581689..a18583fad4 100644
--- a/error.c
+++ b/error.c
@@ -886,7 +886,9 @@ VALUE rb_eSystemCallError;
VALUE rb_mErrno;
static VALUE rb_eNOERROR;
-static ID id_cause, id_message, id_backtrace;
+ID ruby_static_id_cause;
+#define id_cause ruby_static_id_cause
+static ID id_message, id_backtrace;
static ID id_name, id_key, id_args, id_Errno, id_errno, id_i_path;
static ID id_receiver, id_recv, id_iseq, id_local_variables;
static ID id_private_call_p, id_top, id_bottom;