[前][次][番号順一覧][スレッド一覧]

ruby-changes:12860

From: nobu <ko1@a...>
Date: Thu, 20 Aug 2009 12:09:34 +0900 (JST)
Subject: [ruby-changes:12860] Ruby:r24592 (trunk): * parse.y (ivar2_hash_type): disabled for now.

nobu	2009-08-20 12:09:08 +0900 (Thu, 20 Aug 2009)

  New Revision: 24592

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24592

  Log:
    * parse.y (ivar2_hash_type): disabled for now.

  Modified files:
    trunk/ChangeLog
    trunk/parse.y

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 24591)
+++ ChangeLog	(revision 24592)
@@ -1,3 +1,7 @@
+Thu Aug 20 12:09:01 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* parse.y (ivar2_hash_type): disabled for now.
+
 Thu Aug 20 08:39:50 2009  Yukihiro Matsumoto  <matz@r...>
 
 	* thread.c (rb_thread_terminate_all): do not ignore interrupt when
Index: parse.y
===================================================================
--- parse.y	(revision 24591)
+++ parse.y	(revision 24592)
@@ -9152,8 +9152,10 @@
     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 @@
     rb_str_hash,
 };
 
+#if ENABLE_SELECTOR_NAMESPACE
 struct ivar2_key {
     ID id;
     VALUE klass;
@@ -9186,14 +9189,17 @@
     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();
 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]