Skip to content

Commit

Permalink
jis/props.kwd: constify
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed May 22, 2014
1 parent 057186a commit 095e1f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion enc/jis/props.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion enc/jis/props.h.blt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion enc/jis/props.kwd
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion enc/jis/props.src
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 095e1f8

Please sign in to comment.