diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-03 15:11:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-03 15:11:53 +0000 |
commit | bc2a1f2a98b04f040ea485cedd3283f2f3906e4c (patch) | |
tree | 833ab2f599dfd7576201ab5745e7ffeb5436fd88 /constant.h | |
parent | 3e0819c66a0908be61fbb769e96c1accb1d67f26 (diff) | |
download | ruby-bc2a1f2a98b04f040ea485cedd3283f2f3906e4c.tar.gz |
* variable.c (rb_const_set): show the previous definition
location. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'constant.h')
-rw-r--r-- | constant.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/constant.h b/constant.h index 8232910737..9354241961 100644 --- a/constant.h +++ b/constant.h @@ -19,6 +19,8 @@ typedef enum { typedef struct rb_const_entry_struct { rb_const_flag_t flag; VALUE value; /* should be mark */ + VALUE file; + int line; } rb_const_entry_t; VALUE rb_mod_private_constant(int argc, VALUE *argv, VALUE obj); |