diff options
-rw-r--r-- | tool/ruby_vm/views/_attributes.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/ruby_vm/views/_attributes.erb b/tool/ruby_vm/views/_attributes.erb index d15299c235..9229f1a5ce 100644 --- a/tool/ruby_vm/views/_attributes.erb +++ b/tool/ruby_vm/views/_attributes.erb @@ -5,10 +5,13 @@ %# granted, to either redistribute and/or modify this file, provided that the %# conditions mentioned in the file COPYING are met. Consult the file for %# +#ifndef RUBY_VM_EXEC_H +/* can't #include "vm_exec.h" here... */ typedef long OFFSET; typedef unsigned long lindex_t; typedef VALUE GENTRY; typedef rb_iseq_t *ISEQ; +#endif % attrs = RubyVM::Instructions.map(&:attributes).flatten % |