diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-17 08:35:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-17 08:35:08 +0000 |
commit | 200cea63268d934e88d8b42a95e2f1172bf1b605 (patch) | |
tree | d2f6d94d5277a3f18f5558d6b188e02837b398c1 /template | |
parent | 9e1b74ff5b5ff6c1550ea1154daf206142e279b8 (diff) | |
download | ruby-200cea63268d934e88d8b42a95e2f1172bf1b605.tar.gz |
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')
-rw-r--r-- | template/id.h.tmpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl index f6ebf9fba5..9389887acb 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 |