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

ruby-changes:26098

From: nobu <ko1@a...>
Date: Mon, 3 Dec 2012 18:29:23 +0900 (JST)
Subject: [ruby-changes:26098] nobu:r38155 (trunk): id.h.tmpl: move empty?

nobu	2012-12-03 18:25:19 +0900 (Mon, 03 Dec 2012)

  New Revision: 38155

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

  Log:
    id.h.tmpl: move empty?
    
    * template/id.h.tmpl (preserved_ids): "empty?" is not an attribute name.

  Modified files:
    trunk/ChangeLog
    trunk/template/id.h.tmpl

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38154)
+++ ChangeLog	(revision 38155)
@@ -1,3 +1,7 @@
+Mon Dec  3 18:25:16 2012  Nobuyoshi Nakada  <nobu@r...>
+
+	* template/id.h.tmpl (preserved_ids): "empty?" is not an attribute name.
+
 Mon Dec  3 16:23:09 2012  Koichi Sasada  <ko1@a...>
 
 	* vm_backtrace.c (vm_backtrace_to_ary): check negative size (2nd arg).
Index: template/id.h.tmpl
===================================================================
--- template/id.h.tmpl	(revision 38154)
+++ template/id.h.tmpl	(revision 38155)
@@ -15,12 +15,11 @@
 
 op_id_offset = 128
 
-method_ids = %w[
+attr_ids = %w[
   Intern
   MethodMissing
   Length
   Size
-  EmptyP
   Gets
   Succ
   Each
@@ -44,6 +43,7 @@
 
 preserved_ids = %w[
   NULL
+  EmptyP
   Respond_to
   Respond_to_missing
   IFUNC
@@ -113,11 +113,11 @@
     id<%=token%>,
 % end
     tPRESERVED_ID_END,
-% method_ids.each do |token|
+% attr_ids.each do |token|
     t<%=token%>,
 % end
 #define TOKEN2ID(n) id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
-% method_ids.each do |token|
+% attr_ids.each do |token|
     TOKEN2ID(<%=token%>),
 % end
     tLAST_OP_ID = tPRESERVED_ID_END-1,

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

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