зеркало из https://github.com/github/ruby.git
comma at the end of enum is a C99ism.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
55317a74f7
Коммит
30bd46a358
|
@ -5,8 +5,8 @@
|
|||
%# granted, to either redistribute and/or modify this file, provided that the
|
||||
%# conditions mentioned in the file COPYING are met. Consult the file for
|
||||
%# details.
|
||||
%
|
||||
% map = RubyVM::Typemap.each_pair.map {|k, (c, t)| sprintf "%s = '%s'", t, c }
|
||||
enum ruby_insn_type_chars {
|
||||
% RubyVM::Typemap.each_pair do |k, (c, t)|
|
||||
<%= t %> = '<%= c %>',
|
||||
% end
|
||||
<%= map.join(",\n ") %>
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче