diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-20 03:09:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-20 03:09:08 +0000 |
commit | 4a7cf7638c15f644177ec5383148dea58e6565d6 (patch) | |
tree | b5e9864597f5ccb83c848f0698cdc0c4a446e527 /parse.y | |
parent | ec5e3c551d8d4df0b091f4e6bcadfa99a0e5cefe (diff) |
* parse.y (ivar2_hash_type): disabled for now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -9152,8 +9152,10 @@ static struct symbols { ID last_id; st_table *sym_id; st_table *id_str; +#if ENABLE_SELECTOR_NAMESPACE st_table *ivar2_id; st_table *id_ivar2; +#endif VALUE op_sym[tLAST_TOKEN]; } global_symbols = {tLAST_ID}; @@ -9162,6 +9164,7 @@ static const struct st_hash_type symhash = { rb_str_hash, }; +#if ENABLE_SELECTOR_NAMESPACE struct ivar2_key { ID id; VALUE klass; @@ -9186,14 +9189,17 @@ static const struct st_hash_type ivar2_hash_type = { ivar2_cmp, ivar2_hash, }; +#endif void Init_sym(void) { global_symbols.sym_id = st_init_table_with_size(&symhash, 1000); global_symbols.id_str = st_init_numtable_with_size(1000); +#if ENABLE_SELECTOR_NAMESPACE global_symbols.ivar2_id = st_init_table_with_size(&ivar2_hash_type, 1000); global_symbols.id_ivar2 = st_init_numtable_with_size(1000); +#endif Init_id(); } |