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:
parent
057186a986
commit
095e1f8eaf
4 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue