summaryrefslogtreecommitdiff
path: root/template/id.h.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-17 08:35:08 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-17 08:35:08 (GMT)
commit200cea63268d934e88d8b42a95e2f1172bf1b605 (patch)
treed2f6d94d5277a3f18f5558d6b188e02837b398c1 /template/id.h.tmpl
parent9e1b74ff5b5ff6c1550ea1154daf206142e279b8 (diff)
id.h.tmpl: joke method names
* template/id.h.tmpl (method_ids): create also joke method names non-separatedly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/id.h.tmpl')
-rw-r--r--template/id.h.tmpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl
index f6ebf9f..9389887 100644
--- a/template/id.h.tmpl
+++ b/template/id.h.tmpl
@@ -45,6 +45,8 @@ method_ids = %w[
__send__
Initialize
UScore
+ Bitblt
+ Answer
]
%>
#ifndef RUBY_ID_H
@@ -107,12 +109,8 @@ enum ruby_method_ids {
% method_ids.each do |token|
t<%=token%>,
% end
- tBitblt,
- tAnswer,
tLAST_ID,
#define TOKEN2ID(n) id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
- TOKEN2ID(Bitblt),
- TOKEN2ID(Answer),
% method_ids.each do |token|
TOKEN2ID(<%=token%>),
% end