From 095e1f8eafda55cf08688f913e0e72ebfe418846 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 22 May 2014 14:34:58 +0000 Subject: 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 --- enc/jis/props.h | 2 +- enc/jis/props.h.blt | 2 +- enc/jis/props.kwd | 2 +- enc/jis/props.src | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'enc/jis') 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, -- cgit v1.2.3