aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 21:08:07 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 21:12:31 +0900
commitbeaabd23087a54364bc8fc8aa7a45dd9f425e19b (patch)
treecb81c98448d5f48e1b2cd1dbb5ea09c9b0ea55dc /iseq.h
parent7cb19b3f5bf0a5dcee0e8444b920e01e7d4e7fae (diff)
downloadruby-beaabd23087a54364bc8fc8aa7a45dd9f425e19b.tar.gz
Unify SUPPORT_JOKE and OPT_SUPPORT_JOKE
for simplicity and consistency. Now SUPPORT_JOKE needs to be prefixed with OPT_ to make the config visible in `RubyVM::VmOptsH`, and the inconsistency was introduced. As it has never been available for override in configure (no #ifndef guard), it should be fine to rename the config.
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.h b/iseq.h
index 13cbd90569..711afeb0fa 100644
--- a/iseq.h
+++ b/iseq.h
@@ -109,7 +109,7 @@ struct iseq_compile_data {
unsigned int ci_kw_index;
const rb_compile_option_t *option;
struct rb_id_table *ivar_cache_table;
-#if SUPPORT_JOKE
+#if OPT_SUPPORT_JOKE
st_table *labels_table;
#endif
};