diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-22 14:34:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-22 14:34:58 +0000 |
commit | 095e1f8eafda55cf08688f913e0e72ebfe418846 (patch) | |
tree | b39666f6fd74ce18583acf102d48d0c67de35c02 /enc | |
parent | 057186a986b80dc073730815eaecd28cd07c71c1 (diff) | |
download | ruby-095e1f8eafda55cf08688f913e0e72ebfe418846.tar.gz |
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
Diffstat (limited to 'enc')
-rw-r--r-- | enc/jis/props.h | 2 | ||||
-rw-r--r-- | enc/jis/props.h.blt | 2 | ||||
-rw-r--r-- | enc/jis/props.kwd | 2 | ||||
-rw-r--r-- | enc/jis/props.src | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/enc/jis/props.h b/enc/jis/props.h index f4262f580d..19b1982ca6 100644 --- a/enc/jis/props.h +++ b/enc/jis/props.h @@ -54,7 +54,7 @@ enum onigenc_jis_ctype { 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, diff --git a/enc/jis/props.h.blt b/enc/jis/props.h.blt index f4262f580d..19b1982ca6 100644 --- a/enc/jis/props.h.blt +++ b/enc/jis/props.h.blt @@ -54,7 +54,7 @@ enum onigenc_jis_ctype { 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, diff --git a/enc/jis/props.kwd b/enc/jis/props.kwd index b2ddde50c9..f3235c0100 100644 --- a/enc/jis/props.kwd +++ b/enc/jis/props.kwd @@ -23,7 +23,7 @@ enum onigenc_jis_ctype { 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, diff --git a/enc/jis/props.src b/enc/jis/props.src index b2ddde50c9..f3235c0100 100644 --- a/enc/jis/props.src +++ b/enc/jis/props.src @@ -23,7 +23,7 @@ enum onigenc_jis_ctype { 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, |