summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-26 17:01:10 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-26 17:01:10 +0000
commit6e6a28183ac0732fa2b31d54bb69222c5d152573 (patch)
tree002e1b617133f8b76ce5b127ef34a56bbf799a5b /enc
parent782fec1de4e6a7fbbcc1b426067fb8212c06fd3e (diff)
downloadruby-6e6a28183ac0732fa2b31d54bb69222c5d152573.tar.gz
* unicode.c (PROPERTY_NAME_MAX_SIZE): use MAX_WORD_LENGTH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r--enc/unicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/unicode.c b/enc/unicode.c
index 3dc81520f8..bf9984bebd 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -2080,7 +2080,7 @@ onigenc_utf16_32_get_ctype_code_range(OnigCtype ctype, OnigCodePoint* sb_out,
#include "ruby/st.h"
-#define PROPERTY_NAME_MAX_SIZE 20
+#define PROPERTY_NAME_MAX_SIZE MAX_WORD_LENGTH
extern int
onigenc_unicode_property_name_to_ctype(OnigEncoding enc, UChar* name, UChar* end)