diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-13 10:47:33 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-13 10:47:33 +0000 |
commit | 90cb7d30487ddc6e9e3b70ea60bd9ad624d8e716 (patch) | |
tree | d9a05f58125d64f8e655a4ef8b58f65b21240141 /tool/ruby_vm/views/_attributes.erb | |
parent | 307547f02fa4523a8dea67bf9b617629af91a6c0 (diff) |
__VA_ARGS__ is a C99ism
give up CALL_ATTRIBUTE macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ruby_vm/views/_attributes.erb')
-rw-r--r-- | tool/ruby_vm/views/_attributes.erb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tool/ruby_vm/views/_attributes.erb b/tool/ruby_vm/views/_attributes.erb index 258bf02906..d15299c235 100644 --- a/tool/ruby_vm/views/_attributes.erb +++ b/tool/ruby_vm/views/_attributes.erb @@ -10,8 +10,6 @@ typedef unsigned long lindex_t; typedef VALUE GENTRY; typedef rb_iseq_t *ISEQ; -#define CALL_ATTRIBUTE(name, insn, ...) attr_ ## name ## _ ## insn(__VA_ARGS__) - % attrs = RubyVM::Instructions.map(&:attributes).flatten % % attrs.each do |a| |