From 17a2be29b91b971d28f4d0f2381973ee65fc13c4 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 3 Dec 2012 09:25:19 +0000 Subject: id.h.tmpl: move empty? * template/id.h.tmpl (preserved_ids): "empty?" is not an attribute name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- template/id.h.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'template') diff --git a/template/id.h.tmpl b/template/id.h.tmpl index d5e82a989e..43a802324e 100644 --- a/template/id.h.tmpl +++ b/template/id.h.tmpl @@ -15,12 +15,11 @@ require 'optparse' op_id_offset = 128 -method_ids = %w[ +attr_ids = %w[ Intern MethodMissing Length Size - EmptyP Gets Succ Each @@ -44,6 +43,7 @@ token_op_ids = %w[ preserved_ids = %w[ NULL + EmptyP Respond_to Respond_to_missing IFUNC @@ -113,11 +113,11 @@ enum ruby_method_ids { 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<), % end tLAST_OP_ID = tPRESERVED_ID_END-1, -- cgit v1.2.3