[Groonga-commit] groonga/groonga at 68aee80 [master] nfkc: follow by-hand changes

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Dec 5 00:19:20 JST 2015


Kouhei Sutou	2015-12-05 00:19:20 +0900 (Sat, 05 Dec 2015)

  New Revision: 68aee8039ef238ceb3369dce60db1fd5e2a9143d
  https://github.com/groonga/groonga/commit/68aee8039ef238ceb3369dce60db1fd5e2a9143d

  Message:
    nfkc: follow by-hand changes
    
    ICU 3.8.1 is used. ICU 3.8.1 is based on Unicode 5.0 not 5.1...

  Modified files:
    lib/icudump.c
    lib/nfkc.rb

  Modified: lib/icudump.c (+8 -8)
===================================================================
--- lib/icudump.c    2015-12-04 18:34:41 +0900 (2cbc15c)
+++ lib/icudump.c    2015-12-05 00:19:20 +0900 (f15a96c)
@@ -156,14 +156,14 @@ enum {
 };
 
 static const char *ctypes[] = {
-  "grn_str_null",
-  "grn_str_alpha",
-  "grn_str_digit",
-  "grn_str_symbol",
-  "grn_str_hiragana",
-  "grn_str_katakana",
-  "grn_str_kanji",
-  "grn_str_others"
+  "GRN_CHAR_NULL",
+  "GRN_CHAR_ALPHA",
+  "GRN_CHAR_DIGIT",
+  "GRN_CHAR_SYMBOL",
+  "GRN_CHAR_HIRAGANA",
+  "GRN_CHAR_KATAKANA",
+  "GRN_CHAR_KANJI",
+  "GRN_CHAR_OTHERS"
 };
 
 void

  Modified: lib/nfkc.rb (+3 -2)
===================================================================
--- lib/nfkc.rb    2015-12-04 18:34:41 +0900 (1a13438)
+++ lib/nfkc.rb    2015-12-05 00:19:20 +0900 (f43dbe8)
@@ -347,11 +347,12 @@ template = <<END
 don't edit this file by hand. it generated automatically by nfkc.rb
 */
 
-#include "nfkc.h"
+#include "grn.h"
+#include <groonga/nfkc.h>
 
 #ifdef GRN_WITH_NFKC
 
-unsigned char
+grn_char_type
 grn_nfkc_char_type(const unsigned char *str)
 {
 %  return -1;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index