summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-06 13:56:58 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-06 13:56:58 (GMT)
commit7387c08373a9421356da2581b1035903ac0a301a (patch)
treea4e3baed84a314430ecdb21402c3081404edaadd /vm_core.h
parent5e7167f8fb954ec46eb12a4a0a1191a8f7d9543d (diff)
const_missing on private constants
* variable.c (rb_const_search): call #const_missing method on private constants, as well as uninitialized constants. [Feature #14328] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 10a697f..73ef51d 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -836,6 +836,7 @@ typedef struct rb_execution_context_struct {
VALUE passed_block_handler; /* for rb_iterate */
const rb_callable_method_entry_t *passed_bmethod_me; /* for bmethod */
enum method_missing_reason method_missing_reason;
+ VALUE private_const_reference;
/* for GC */
struct {