[前][次][番号順一覧][スレッド一覧]

ruby-changes:12938

From: naruse <ko1@a...>
Date: Thu, 27 Aug 2009 02:07:42 +0900 (JST)
Subject: [ruby-changes:12938] Ruby:r24677 (trunk): * unicode.c (PROPERTY_NAME_MAX_SIZE): use MAX_WORD_LENGTH.

naruse	2009-08-27 02:01:10 +0900 (Thu, 27 Aug 2009)

  New Revision: 24677

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24677

  Log:
    * unicode.c (PROPERTY_NAME_MAX_SIZE): use MAX_WORD_LENGTH.

  Modified files:
    trunk/ChangeLog
    trunk/enc/unicode.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 24676)
+++ ChangeLog	(revision 24677)
@@ -1,3 +1,7 @@
+Thu Aug 27 02:00:09 2009  NARUSE, Yui  <naruse@r...>
+
+	* unicode.c (PROPERTY_NAME_MAX_SIZE): use MAX_WORD_LENGTH.
+
 Wed Aug 26 23:59:56 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* random.c (random_rand): refined error message.
Index: enc/unicode.c
===================================================================
--- enc/unicode.c	(revision 24676)
+++ enc/unicode.c	(revision 24677)
@@ -2080,7 +2080,7 @@
 
 #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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]