summaryrefslogtreecommitdiff
path: root/constant.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-03 15:11:53 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-03 15:11:53 (GMT)
commitbc2a1f2a98b04f040ea485cedd3283f2f3906e4c (patch)
tree833ab2f599dfd7576201ab5745e7ffeb5436fd88 /constant.h
parent3e0819c66a0908be61fbb769e96c1accb1d67f26 (diff)
* 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/constant.h b/constant.h
index 8232910..9354241 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);