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

ruby-changes:20572

From: nobu <ko1@a...>
Date: Fri, 22 Jul 2011 20:45:04 +0900 (JST)
Subject: [ruby-changes:20572] nobu:r32620 (trunk): * parse.y (rb_is_global_id, rb_is_attrset_id): add missing

nobu	2011-07-22 20:44:53 +0900 (Fri, 22 Jul 2011)

  New Revision: 32620

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

  Log:
    * parse.y (rb_is_global_id, rb_is_attrset_id): add missing
      predicates.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/intern.h
    trunk/parse.y

Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 32619)
+++ include/ruby/intern.h	(revision 32620)
@@ -556,7 +556,9 @@
 ID rb_id_attrset(ID);
 void rb_gc_mark_parser(void);
 int rb_is_const_id(ID);
+int rb_is_global_id(ID);
 int rb_is_instance_id(ID);
+int rb_is_attrset_id(ID);
 int rb_is_class_id(ID);
 int rb_is_local_id(ID);
 int rb_is_junk_id(ID);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32619)
+++ ChangeLog	(revision 32620)
@@ -1,3 +1,8 @@
+Fri Jul 22 20:44:49 2011  Nobuyoshi Nakada  <nobu@r...>
+
+	* parse.y (rb_is_global_id, rb_is_attrset_id): add missing
+	  predicates.
+
 Fri Jul 22 20:24:38 2011  Kazuhiro NISHIYAMA  <zn@m...>
 
 	* test/ruby/test_object.rb (TestObject#test_respond_to_missing):
Index: parse.y
===================================================================
--- parse.y	(revision 32619)
+++ parse.y	(revision 32620)
@@ -10047,12 +10047,24 @@
 }
 
 int
+rb_is_global_id(ID id)
+{
+    return is_global_id(id);
+}
+
+int
 rb_is_instance_id(ID id)
 {
     return is_instance_id(id);
 }
 
 int
+rb_is_attrset_id(ID id)
+{
+    return is_attrset_id(id);
+}
+
+int
 rb_is_local_id(ID id)
 {
     return is_local_id(id);

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

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