ruby-changes:42684
From: nobu <ko1@a...>
Date: Mon, 25 Apr 2016 13:42:21 +0900 (JST)
Subject: [ruby-changes:42684] nobu:r54758 (trunk): sizes.c.tmpl: extra semicolon
nobu 2016-04-25 14:38:55 +0900 (Mon, 25 Apr 2016) New Revision: 54758 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54758 Log: sizes.c.tmpl: extra semicolon * template/sizes.c.tmpl (DEFINE): remove extra semicolon. Modified files: trunk/template/sizes.c.tmpl Index: template/sizes.c.tmpl =================================================================== --- template/sizes.c.tmpl (revision 54757) +++ template/sizes.c.tmpl (revision 54758) @@ -19,7 +19,7 @@ Init_sizeof(void) https://github.com/ruby/ruby/blob/trunk/template/sizes.c.tmpl#L19 VALUE s = rb_hash_new(); rb_define_const(rb_define_module("RbConfig"), "SIZEOF", s); -#define DEFINE(type, size) rb_hash_aset(s, rb_str_new_cstr(#type), INT2FIX(SIZEOF_##size)); +#define DEFINE(type, size) rb_hash_aset(s, rb_str_new_cstr(#type), INT2FIX(SIZEOF_##size)) % types.each do |type| % cond = conditions[type] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/