summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-22 14:34:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-22 14:34:58 +0000
commit095e1f8eafda55cf08688f913e0e72ebfe418846 (patch)
treeb39666f6fd74ce18583acf102d48d0c67de35c02 /enc
parent057186a986b80dc073730815eaecd28cd07c71c1 (diff)
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.h2
-rw-r--r--enc/jis/props.h.blt2
-rw-r--r--enc/jis/props.kwd2
-rw-r--r--enc/jis/props.src2
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,