ruby-changes:33969
From: nobu <ko1@a...>
Date: Thu, 22 May 2014 23:35:05 +0900 (JST)
Subject: [ruby-changes:33969] nobu:r46051 (trunk): jis/props.kwd: constify
nobu 2014-05-22 23:34:58 +0900 (Thu, 22 May 2014) New Revision: 46051 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=46051 Log: jis/props.kwd: constify * enc/jis/props.kwd (PropertyList): constify table itself. Modified files: trunk/enc/jis/props.h trunk/enc/jis/props.h.blt trunk/enc/jis/props.kwd trunk/enc/jis/props.src Index: enc/jis/props.kwd =================================================================== --- enc/jis/props.kwd (revision 46050) +++ enc/jis/props.kwd (revision 46051) @@ -23,7 +23,7 @@ enum onigenc_jis_ctype { https://github.com/ruby/ruby/blob/trunk/enc/jis/props.kwd#L23 enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1}; -static const OnigCodePoint* PropertyList[PropertyListNum] = { +static const OnigCodePoint* const PropertyList[PropertyListNum] = { CR_Hiragana, CR_Katakana, CR_Han, Index: enc/jis/props.h =================================================================== --- enc/jis/props.h (revision 46050) +++ enc/jis/props.h (revision 46051) @@ -54,7 +54,7 @@ enum onigenc_jis_ctype { https://github.com/ruby/ruby/blob/trunk/enc/jis/props.h#L54 enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1}; -static const OnigCodePoint* PropertyList[PropertyListNum] = { +static const OnigCodePoint* const PropertyList[PropertyListNum] = { CR_Hiragana, CR_Katakana, CR_Han, Index: enc/jis/props.h.blt =================================================================== --- enc/jis/props.h.blt (revision 46050) +++ enc/jis/props.h.blt (revision 46051) @@ -54,7 +54,7 @@ enum onigenc_jis_ctype { https://github.com/ruby/ruby/blob/trunk/enc/jis/props.h.blt#L54 enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1}; -static const OnigCodePoint* PropertyList[PropertyListNum] = { +static const OnigCodePoint* const PropertyList[PropertyListNum] = { CR_Hiragana, CR_Katakana, CR_Han, Index: enc/jis/props.src =================================================================== --- enc/jis/props.src (revision 46050) +++ enc/jis/props.src (revision 46051) @@ -23,7 +23,7 @@ enum onigenc_jis_ctype { https://github.com/ruby/ruby/blob/trunk/enc/jis/props.src#L23 enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1}; -static const OnigCodePoint* PropertyList[PropertyListNum] = { +static const OnigCodePoint* const PropertyList[PropertyListNum] = { CR_Hiragana, CR_Katakana, CR_Han, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/