1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

jis/props.kwd: constify

* enc/jis/props.kwd (PropertyList): constify table itself.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-05-22 14:34:58 +00:00
parent 057186a986
commit 095e1f8eaf
4 changed files with 4 additions and 4 deletions

View file

@ -54,7 +54,7 @@ enum onigenc_jis_ctype {
enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1}; enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1};
static const OnigCodePoint* PropertyList[PropertyListNum] = { static const OnigCodePoint* const PropertyList[PropertyListNum] = {
CR_Hiragana, CR_Hiragana,
CR_Katakana, CR_Katakana,
CR_Han, CR_Han,

View file

@ -54,7 +54,7 @@ enum onigenc_jis_ctype {
enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1}; enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1};
static const OnigCodePoint* PropertyList[PropertyListNum] = { static const OnigCodePoint* const PropertyList[PropertyListNum] = {
CR_Hiragana, CR_Hiragana,
CR_Katakana, CR_Katakana,
CR_Han, CR_Han,

View file

@ -23,7 +23,7 @@ enum onigenc_jis_ctype {
enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1}; enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1};
static const OnigCodePoint* PropertyList[PropertyListNum] = { static const OnigCodePoint* const PropertyList[PropertyListNum] = {
CR_Hiragana, CR_Hiragana,
CR_Katakana, CR_Katakana,
CR_Han, CR_Han,

View file

@ -23,7 +23,7 @@ enum onigenc_jis_ctype {
enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1}; enum {PropertyListNum = onigenc_jis_max - onigenc_jis_min - 1};
static const OnigCodePoint* PropertyList[PropertyListNum] = { static const OnigCodePoint* const PropertyList[PropertyListNum] = {
CR_Hiragana, CR_Hiragana,
CR_Katakana, CR_Katakana,
CR_Han, CR_Han,